ci: change winget job runner to ubuntu-latest (#1959)

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
这个提交包含在:
sitiom
2023-08-11 14:14:41 +08:00
提交者 GitHub
父节点 9f06ca75e4
当前提交 f55ae1a0bc

查看文件

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