From f55ae1a0bc4fb14d463b79a62ff9a37d7e5bda68 Mon Sep 17 00:00:00 2001 From: sitiom Date: Fri, 11 Aug 2023 14:14:41 +0800 Subject: [PATCH] ci: change winget job runner to `ubuntu-latest` (#1959) Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) 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 }}