mirror of
https://github.com/Andre0512/hon.git
synced 2024-12-23 03:05:29 +00:00
25 lines
608 B
YAML
25 lines
608 B
YAML
name: Release
|
|
|
|
on:
|
|
release:
|
|
types: [published]
|
|
|
|
jobs:
|
|
release-zip:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: ZIP Component Dir
|
|
run: |
|
|
cd ${{ github.workspace }}/custom_components/hon
|
|
zip -r haier_hon.zip ./
|
|
|
|
- name: Upload zip to release
|
|
uses: svenstaro/upload-release-action@v2
|
|
with:
|
|
repo_token: ${{ secrets.GITHUB_TOKEN }}
|
|
file: ${{ github.workspace }}/custom_components/hon/haier_hon.zip
|
|
asset_name: haier_hon.zip
|
|
tag: ${{ github.ref }}
|
|
overwrite: true |