From 59c570ddcf8c41f7eb8b1fd50169d27a64939df2 Mon Sep 17 00:00:00 2001 From: Evan Simkowitz Date: Thu, 21 Nov 2024 14:14:32 -0800 Subject: [PATCH] Hopefully last fix to the winget publish job (#1337) --- .github/workflows/publish-release.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 77280cd0e..ce8ae26e1 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -38,6 +38,7 @@ jobs: shell: bash bump-winget: if: ${{ startsWith(github.ref, 'refs/tags/') && !contains(github.ref_name, 'beta') }} + needs: [publish] runs-on: windows-latest steps: - uses: actions/checkout@v4 @@ -48,8 +49,10 @@ jobs: repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Install winget uses: Cyberboss/install-winget@v1 + with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Install wingetcreate - run: winget install wingetcreate --accept-package-agreements + run: winget install -e --silent --accept-package-agreements --accept-source-agreements wingetcreate shell: pwsh - name: Submit WinGet version bump run: "task artifacts:winget:publish:${{ github.ref_name }}"