Publish #39
Workflow file for this run
This file contains 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: 'Publish' | |
on: | |
release: | |
types: | |
- published | |
concurrency: | |
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}' | |
cancel-in-progress: true | |
jobs: | |
release: | |
name: HACS release | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v4 | |
- name: Build release package (HACS) | |
run: | | |
cd ${{ github.workspace }}/custom_components/econnect_metronet | |
zip hacs_econnect_metronet.zip -r ./ | |
- name: Upload release packages | |
uses: softprops/[email protected] | |
with: | |
files: | | |
${{ github.workspace }}/custom_components/econnect_metronet/hacs_econnect_metronet.zip |