WinDynamicDesktop 5.6.1 #10
Workflow file for this run
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 to Chocolatey | |
| on: | |
| release: | |
| types: [released] | |
| workflow_dispatch: | |
| inputs: | |
| release_tag: | |
| required: true | |
| description: Tag of release you want to publish | |
| type: string | |
| jobs: | |
| publish: | |
| runs-on: windows-latest # choco can only be run on windows | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: pip install -r scripts/requirements.txt | |
| - run: python scripts/publish_choco.py ${{ inputs.release_tag || github.event.release.tag_name }} | |
| env: | |
| CHOCO_API_KEY: ${{ secrets.CHOCO_APIKEY }} |