-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 1.08 KB
/
githubpublish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 }}