-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from caiosweet/beta
ready for a release
- Loading branch information
Showing
30 changed files
with
1,469 additions
and
1,090 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Release Workflow | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
zip-files: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: 📥 Checkout the repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: 🔢 Get release version | ||
id: get_version | ||
uses: mikefarah/yq@master | ||
with: | ||
cmd: yq '.homeassistant.customize."package.cn".version' packages/centro_notifiche/hub_main.yaml | ||
|
||
- name: 📦 Create zip file for the packages blueprints lovelace folder | ||
uses: vimtor/action-zip@v1 | ||
with: | ||
files: packages/ blueprints/ lovelace/ | ||
dest: centro_notifiche.zip | ||
recursive: false | ||
|
||
- name: 📤 Upload the zip file as a release asset and 🖊️ Set version number | ||
uses: svenstaro/upload-release-action@v1-release | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: "${{ github.workspace }}/centro_notifiche.zip" | ||
asset_name: centro_notifiche.zip | ||
# default # tag: ${{ github.ref }} | ||
tag: ${{ steps.get_version.outputs.result }} | ||
prerelease: true | ||
make_latest: false | ||
overwrite: true |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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
Oops, something went wrong.