Skip to content

Commit

Permalink
Переход на ZIP релизы
Browse files Browse the repository at this point in the history
  • Loading branch information
dext0r committed Oct 13, 2024
1 parent 35ace1d commit acaad89
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 3 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
release:
types:
- published

permissions:
contents: write

jobs:
release-zip:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Prepare release
run: |
cd ${{ github.workspace }}/custom_components/yandex_station_intents
zip -r yandex_station_intents.zip ./
- name: Upload zip
uses: svenstaro/upload-release-action@v2
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: ${{ github.workspace }}/custom_components/yandex_station_intents/yandex_station_intents.zip
asset_name: yandex_station_intents.zip
tag: ${{ github.ref }}
overwrite: true
8 changes: 5 additions & 3 deletions hacs.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
{
"country": ["RU"],
"homeassistant": "2023.9",
"name": "Yandex.Station Intents",
"render_readme": true
"homeassistant": "2023.9",
"country": ["RU"],
"render_readme": true,
"zip_release": true,
"filename": "yandex_station_intents.zip"
}

0 comments on commit acaad89

Please sign in to comment.