-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also upload files to the GitHub release (#205)
- Loading branch information
1 parent
c0451d2
commit a672c80
Showing
1 changed file
with
11 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -79,8 +79,18 @@ jobs: | |
echo "" >> $GITHUB_STEP_SUMMARY | ||
echo "[Install here](https://esphome.github.io/home-assistant-voice-pe/?version=${{ github.event.release.tag_name }}) and test **before** approving deployment to beta or production." >> $GITHUB_STEP_SUMMARY | ||
upload-to-release: | ||
name: Upload to Release | ||
if: github.event_name == 'release' | ||
uses: esphome/workflows/.github/workflows/[email protected] | ||
needs: | ||
- build-firmware | ||
with: | ||
version: ${{ github.event.release.tag_name }} | ||
|
||
promote-beta: | ||
name: Promote to Beta | ||
if: github.event_name == 'release' | ||
uses: esphome/workflows/.github/workflows/[email protected] | ||
needs: | ||
- upload-to-r2 | ||
|
@@ -93,7 +103,7 @@ jobs: | |
|
||
promote-prod: | ||
name: Promote to Production | ||
if: github.event.release.prerelease == false | ||
if: github.event_name == 'release' && github.event.release.prerelease == false | ||
uses: esphome/workflows/.github/workflows/[email protected] | ||
needs: | ||
- upload-to-r2 | ||
|