Skip to content

v2.6.0 🌈

v2.6.0 🌈 #9

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: Checkout repository
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Set manifest version number
run: |
python ${{ github.workspace }}/.github/scripts/update_hacs_manifest.py --version ${{ github.ref_name }}
- name: Create zip
run: |
cd custom_components/tech
zip tech.zip -r ./
- name: Upload zip to release
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ./custom_components/tech/tech.zip
asset_name: tech.zip
tag: ${{ github.ref }}
overwrite: true