chore: Winget package automation (#448)

This commit is contained in:
vikingnope 2025-08-17 16:59:39 +02:00 committed by GitHub
parent bf18ace25a
commit ab6182f69d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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