ci: change winget job runner to ubuntu-latest
(#1959)
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
9f06ca75e4
commit
f55ae1a0bc
1 changed files with 6 additions and 9 deletions
15
.github/workflows/release.yml
vendored
15
.github/workflows/release.yml
vendored
|
@ -30,6 +30,12 @@ jobs:
|
||||||
args: release --clean
|
args: release --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
|
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
|
- name: Chocolatey
|
||||||
uses: ./.github/actions/choco
|
uses: ./.github/actions/choco
|
||||||
with:
|
with:
|
||||||
|
@ -53,12 +59,3 @@ jobs:
|
||||||
ref: context.ref,
|
ref: context.ref,
|
||||||
sha: mainRef.object.sha,
|
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 }}
|
|
||||||
|
|
Loading…
Reference in a new issue