We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7194e49 commit c330e31Copy full SHA for c330e31
1 file changed
.github/workflows/winget_deploy.yml
@@ -1,11 +1,13 @@
1
name: Publish WinGet Release
2
3
on:
4
- release:
5
- types: [published]
+ workflow_run:
+ workflows: ["Build and Upload .NET binary"]
6
+ types: [completed]
7
8
jobs:
9
build-and-pack:
10
+ if: ${{ github.event.workflow_run.conclusion == 'success' }}
11
runs-on: ubuntu-latest
12
13
steps:
@@ -18,4 +20,4 @@ jobs:
18
20
komac-token: ${{ secrets.GH_TOKEN_FOR_WINGET_PUBLISH }}
19
21
identifier: "TragicCode.BuslyCLI"
22
repo: "TraGicCode/busly-cli"
- url: "https://github.com/TraGicCode/busly-cli/releases/download/${{ github.event.release.tag_name }}/busly-cli-${{ github.event.release.tag_name }}-win-x64.zip"
23
+ url: "https://github.com/TraGicCode/busly-cli/releases/download/${{ github.event.workflow_run.head_branch }}/busly-cli-${{ github.event.workflow_run.head_branch }}-win-x64.zip"
0 commit comments