20260223.10 #13
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: | |
| publish: | |
| runs-on: ubuntu-latest | |
| 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 }} | |
| - name: Setup butler | |
| uses: remarkablegames/setup-butler@v2 | |
| - name: Upload to itch.io | |
| run: | | |
| ls -la # 👈 debug: verify file exists | |
| butler push python_pygame_loader_demo.zip \ | |
| kerodekroma/python-pygame-loader:html \ | |
| --userversion "${{ github.event.release.tag_name }}" | |
| env: | |
| BUTLER_API_KEY: ${{ secrets.BUTLER_CREDENTIALS }} |