Update winget.yml

This commit is contained in:
okrc 2022-09-13 07:02:03 +08:00 committed by GitHub
parent a4c07fbc32
commit 1b036a4e05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -3,15 +3,19 @@ on:
release:
types: [released]
jobs:
publish:
runs-on: windows-latest # action can only be run on windows
publish-plus:
runs-on: windows-latest # action can only be run on Windows
steps:
- name: Publish Sandboxie-Plus
uses: vedantmgoyal2009/winget-releaser@latest
with:
identifier: Sandboxie.Plus
installers-regex: 'Sandboxie-Plus.*.exe$'
installers-regex: "Sandboxie-Plus.*.exe$"
token: ${{ secrets.WINGET_TOKEN }}
publish-classic:
runs-on: windows-latest
steps:
- name: Get Sandboxie-Classic version
id: get_version
run: |
@ -23,5 +27,5 @@ jobs:
with:
version: ${{ steps.get_version.outputs.CLASSIC_VER }}
identifier: Sandboxie.Classic
installers-regex: 'Sandboxie-Classic.*.exe$'
installers-regex: "Sandboxie-Classic.*.exe$"
token: ${{ secrets.WINGET_TOKEN }}