diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9d4a45a..aa0b7fc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,6 +30,12 @@ jobs: args: release --clean env: GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }} + - name: Winget + uses: vedantmgoyal2009/winget-releaser@v2 + with: + identifier: nektos.act + installers-regex: '_Windows_\w+\.zip$' + token: ${{ secrets.WINGET_TOKEN }} - name: Chocolatey uses: ./.github/actions/choco with: @@ -53,12 +59,3 @@ jobs: ref: context.ref, sha: mainRef.object.sha, }); - winget: - needs: release - runs-on: windows-latest # Action can only run on Windows - steps: - - uses: vedantmgoyal2009/winget-releaser@v2 - with: - identifier: nektos.act - installers-regex: '_Windows_\w+\.zip$' - token: ${{ secrets.WINGET_TOKEN }}