mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
chore: Winget package automation (#448)
This commit is contained in:
parent
bf18ace25a
commit
ab6182f69d
1 changed files with 23 additions and 0 deletions
23
.github/workflows/build.yml
vendored
23
.github/workflows/build.yml
vendored
|
|
@ -737,3 +737,26 @@ jobs:
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_dir: ./build/web
|
publish_dir: ./build/web
|
||||||
|
|
||||||
|
# Winget package submission
|
||||||
|
winget-package-submit:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: [check-trigger, create_release]
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
include:
|
||||||
|
- build_type: release
|
||||||
|
identifier: DonutWare.Fladder
|
||||||
|
max_versions: ""
|
||||||
|
- build_type: nightly
|
||||||
|
identifier: DonutWare.Fladder.Nightly
|
||||||
|
max_versions: "1"
|
||||||
|
steps:
|
||||||
|
- name: Submit to Winget (${{ matrix.build_type }})
|
||||||
|
if: needs.check-trigger.outputs.build_type == matrix.build_type
|
||||||
|
uses: vedantmgoyal9/winget-releaser@19e706d4c9121098010096f9c495a70a7518b30f
|
||||||
|
with:
|
||||||
|
identifier: ${{ matrix.identifier }}
|
||||||
|
installers-regex: 'Fladder-Windows-.*-Setup\.exe$'
|
||||||
|
token: ${{ secrets.WINGET_TOKEN }}
|
||||||
|
max-versions-to-keep: ${{ matrix.max_versions || '' }}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue