Publish Release to WinGet #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish Release to WinGet | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: 'The latest version' | |
required: true | |
jobs: | |
publish: | |
runs-on: windows-latest | |
defaults: | |
run: | |
shell: pwsh | |
working-directory: ${{ github.workspace }}/ci_scripts/winget | |
env: | |
WINGET_TOKEN: ${{ secrets.WINGET_PAT }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Create manifest and submit PR | |
run: | | |
./build.ps1 -Version "${{ github.event.inputs.version }}" |