Skip to content

Release

Release #4

Workflow file for this run

---
name: Release
on:
release:
types: [published]
jobs:
release:
name: Prepare release
runs-on: ubuntu-latest
steps:
- name: Download repo
uses: actions/checkout@v4
- name: Zip southern_company dir
run: |
cd /home/runner/work/southern-company-hacs/southern-company/custom_components/southern_company
zip southern_company.zip -r ./
- name: Upload zip to release
uses: svenstaro/[email protected]
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: /home/runner/work/southern-company-hacs/southern-company/custom_components/southern_company/southern_company.zip
asset_name: southern_company.zip
tag: ${{ github.ref }}
overwrite: true