Publish canary to winget #1
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 canary to winget | |
on: | |
workflow_dispatch: | |
release: | |
types: [published] | |
jobs: | |
winget: | |
name: Publish winget package | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Publish winget manifest | |
run: .\winget\Publish.ps1 -Channel Canary -Version Latest -Output .\winget\ | |
- name: Update winget manifest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git config user.name "Johnny Shaw" | |
git config user.email johnny.shaw@live.com | |
git checkout main | |
git add . | |
git commit -m "update winget manifest" | |
git push |