From 7bbf9ebcf6e8c1e39a80591afd0dbd48e73787d2 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 6 Jun 2025 13:06:00 +0200 Subject: [PATCH] ci: fix winget releaser workflow (#9446) `if` attributes on the job level cannot contain `matrix` variables. --- .github/workflows/publish-to-winget.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish-to-winget.yml b/.github/workflows/publish-to-winget.yml index 08686d676..8af9d565c 100644 --- a/.github/workflows/publish-to-winget.yml +++ b/.github/workflows/publish-to-winget.yml @@ -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 }}