ci: fix winget releaser workflow (#9446)

`if` attributes on the job level cannot contain `matrix` variables.
This commit is contained in:
Thomas Eizinger
2025-06-06 13:06:00 +02:00
committed by GitHub
parent b79b5702f0
commit 7bbf9ebcf6

View File

@@ -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 }}