mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
ci: fix winget releaser workflow (#9446)
`if` attributes on the job level cannot contain `matrix` variables.
This commit is contained in:
2
.github/workflows/publish-to-winget.yml
vendored
2
.github/workflows/publish-to-winget.yml
vendored
@@ -15,7 +15,6 @@ jobs:
|
||||
tag_prefix: gui-client
|
||||
- identifier: Firezone.Client.Headless
|
||||
tag_prefix: headless-client
|
||||
if: ${{ startsWith(github.event.release.name, matrix.tag_prefix) }}
|
||||
steps:
|
||||
- id: get-version
|
||||
run: |
|
||||
@@ -24,6 +23,7 @@ jobs:
|
||||
echo "version=$version" >> $GITHUB_OUTPUT
|
||||
shell: bash
|
||||
- uses: vedantmgoyal9/winget-releaser@19e706d4c9121098010096f9c495a70a7518b30f # main
|
||||
if: ${{ startsWith(github.event.release.name, matrix.tag_prefix) }}
|
||||
with:
|
||||
identifier: ${{ matrix.identifier }}
|
||||
version: ${{ steps.get-version.outputs.version }}
|
||||
|
||||
Reference in New Issue
Block a user