v1.5.1-beta.1 — thermal disinfect speaks up 🚿 #1
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Release | |
| on: | |
| release: | |
| types: [published] | |
| permissions: | |
| contents: write | |
| jobs: | |
| attach-zip: | |
| name: Attach integration zip | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build bosch.zip | |
| # Zip the *contents* of the integration directory, not the directory | |
| # itself — that is the layout HACS expects if hacs.json ever sets | |
| # "zip_release": true, and it keeps this asset drop-in compatible. | |
| run: | | |
| cd custom_components/bosch | |
| zip -r "$GITHUB_WORKSPACE/bosch.zip" . -x '*.pyc' -x '*__pycache__*' | |
| - name: Attach to release | |
| env: | |
| GH_TOKEN: ${{ github.token }} | |
| run: gh release upload "${{ github.event.release.tag_name }}" bosch.zip --clobber |