Skip to content

Version 4.4.0 [HA 2023.8 or later required] #193

Version 4.4.0 [HA 2023.8 or later required]

Version 4.4.0 [HA 2023.8 or later required] #193

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
release_zip_file:
name: Prepare release asset
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: ZIP files
run: |
cd /home/runner/work/ha-shellies-discovery/ha-shellies-discovery/python_scripts
zip shellies-discovery.zip -r ./
- name: Upload zip to release
uses: svenstaro/upload-release-action@2.7.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /home/runner/work/ha-shellies-discovery/ha-shellies-discovery/python_scripts/shellies-discovery.zip
asset_name: shellies-discovery.zip
tag: ${{ github.ref }}
overwrite: true