Clean up formatting #34
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: Publish Godot Game | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
export_game: | |
runs-on: ubuntu-latest | |
permissions: write-all | |
name: Export Game | |
steps: | |
- name: checkout | |
uses: actions/[email protected] | |
- name: export game | |
id: export | |
uses: firebelley/[email protected] | |
with: | |
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.1/Godot_v4.1-stable_linux.x86_64.zip | |
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.1/Godot_v4.1-stable_export_templates.tpz | |
relative_project_path: ./ | |
archive_output: true | |
cache: true | |
- name: publish to itch | |
run: | | |
curl -L -o butler.zip https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default | |
unzip butler.zip | |
chmod +x butler | |
./butler push \ | |
${{ steps.export.outputs.archive_directory }}/Web.zip \ | |
tealberrygaming/smellie-ellies-catch-em-all:EXPORT | |
env: | |
BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }} |