Publish WinGet Release #19
This file contains hidden or 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 WinGet Release | |
| on: | |
| workflow_run: | |
| workflows: ["Build and Upload .NET binary"] | |
| types: [completed] | |
| jobs: | |
| build-and-pack: | |
| if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Sync winget-pkgs fork | |
| run: gh repo sync TraGicCode/winget-pkgs -b master --force | |
| env: | |
| GH_TOKEN: ${{ secrets.GH_TOKEN_FOR_WINGET_PUBLISH }} | |
| - name: Update Winget package | |
| uses: michidk/winget-updater@v1 | |
| with: | |
| komac-token: ${{ secrets.GH_TOKEN_FOR_WINGET_PUBLISH }} | |
| identifier: "TragicCode.BuslyCLI" | |
| repo: "TraGicCode/busly-cli" | |
| url: "https://github.com/TraGicCode/busly-cli/releases/download/${{ github.event.workflow_run.head_branch }}/busly-cli-${{ github.event.workflow_run.head_branch }}-win-x64.zip" |