20260223.6 #9
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 itch.io" | |
| on: | |
| release: | |
| types: [published] | |
| jobs: | |
| release_html: | |
| runs-on: ubuntu-latest | |
| name: fecth from GITHUB | |
| steps: | |
| - name: download zip file | |
| id: download-html | |
| uses: dsaltares/fetch-gh-release-asset@master | |
| with: | |
| file: python_pygame_loader_demo.zip | |
| env: | |
| GITHUB_TOKEN: "${{ secrets.GH_CREDENTIALS }}" | |
| itchio_upload: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup butler (HTML5) | |
| uses: remarkablegames/setup-butler@v2 | |
| - name: Upload to itch.io | |
| run: butler push python_pygame_loader_demo.zip kerodekroma/python-pygame-loader:html --userversion ${{ steps.download-html.outputs.version }} | |
| env: | |
| BUTLER_API_KEY: ${{ secrets.BUTLER_CREDENTIALS }} |