Add system Wolf 359 #15
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
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Godot | |
working-directory: ${{ env.RUNNER_TEMP }} | |
run: | | |
curl -sL https://github.com/godotengine/godot/releases/download/4.2.2-stable/Godot_v4.2.2-stable_linux.x86_64.zip -o godot.zip | |
unzip godot.zip | |
mv Godot_v4.2.2-stable_linux.x86_64 "$RUNNER_TEMP/godot" | |
- name: Install butler | |
working-directory: ${{ env.RUNNER_TEMP }} | |
run: | | |
curl -sL https://broth.itch.ovh/butler/linux-amd64/LATEST/archive/default -o butler.zip | |
unzip butler.zip | |
mv butler "$RUNNER_TEMP/butler" | |
- uses: actions/checkout@v4 | |
- name: Prepare export templates | |
run: | | |
mkdir -p ~/.local/share/godot/export_templates/4.2.2.stable | |
mv build/export_templates/*.zip ~/.local/share/godot/export_templates/4.2.2.stable/ | |
- name: Export macOS build | |
run: | | |
"$RUNNER_TEMP/godot" --headless --export-release "macOS" | |
- name: Push to itch.io | |
env: | |
BUTLER_API_KEY: ${{ secrets.BUTLER_API_KEY }} | |
run: | | |
"$RUNNER_TEMP/butler" push build/mac.zip jspahrsummers/Merc:mac |