patch version: 0.1.2-18 #59
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
# SPDX-FileCopyrightText: 2023 Simon Dalvai <[email protected]> | |
# SPDX-License-Identifier: CC0-1.0 | |
name: itch.io upload | |
on: | |
push: | |
paths: | |
- "version" | |
- ".github/workflows/upload-itchio.yml" | |
- "export_presets.html.example" | |
env: | |
GODOT_VERSION: 4.2.1 | |
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: Godot HTML5 export | |
uses: dulvui/[email protected] | |
with: | |
working-directory: $WORKING_DIRECTORY | |
create-export-preset-cfg: true | |
os: Windows | |
- name: Upload to itch.io | |
uses: dulvui/[email protected] | |
with: | |
working-directory: html5 | |
api-key: ${{ secrets.ITCHIO_API_KEY }} | |
user: simondalvai | |
game: futsal-manager | |
channel: html5 | |