minor version bump: 5.2.0-94 #36
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: itch.io upload | |
on: | |
push: | |
paths: | |
- "version" | |
- ".github/workflows/upload-itchio.yml" | |
- "export_presets.html.example" | |
env: | |
WORKING_DIRECTORY: game | |
jobs: | |
deploy: | |
if: github.ref == 'refs/heads/prod' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3 | |
- name: Delete iOS icons | |
run: rm -rf $WORKING_DIRECTORY/AppIcons | |
- name: Create export directory | |
run: mkdir html5 | |
- name: Create export_presets.cfg | |
run: cp game/export_presets.html.example game/export_presets.cfg | |
- name: Godot HTML5 export | |
uses: dulvui/godot-html-export@v0.0.2 | |
with: | |
working-directory: $WORKING_DIRECTORY | |
create-export-preset-cfg: false | |
- name: Upload to itch.io | |
uses: dulvui/itchio-butler-upload@v0.0.1 | |
with: | |
working-directory: html5 | |
api-key: ${{ secrets.ITCHIO_API_KEY }} | |
user: simondalvai | |
game: pocket-broomball | |
channel: html5 | |