-
Notifications
You must be signed in to change notification settings - Fork 2
56 lines (48 loc) 路 1.81 KB
/
export.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Export game
env:
GODOT_VERSION: 3.3.3
on:
push:
branches:
- release
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: export game
uses: firebelley/godot-export@v2.8.1
with:
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/${{ env.GODOT_VERSION }}/Godot_v${{ env.GODOT_VERSION }}-stable_linux_headless.64.zip
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/${{ env.GODOT_VERSION }}/Godot_v${{ env.GODOT_VERSION }}-stable_export_templates.tpz
relative_project_path: ./
base_version: 0.3.0-alpha
use_preset_export_path: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload windows build to itch.io
uses: josephbmanley/butler-publish-itchio-action@v1.0.2
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: windows
ITCH_GAME: 2planets
ITCH_USER: pomme-grenade
PACKAGE: export/windows
- name: Upload linux build to itch.io
uses: josephbmanley/butler-publish-itchio-action@v1.0.2
env:
BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
CHANNEL: linux
ITCH_GAME: 2planets
ITCH_USER: pomme-grenade
PACKAGE: export/linux
# OSX headless export is broken until godot 4.0 is released:
# https://github.com/godotengine/godot/issues/39931
# - name: Upload OSX build to itch.io
# uses: josephbmanley/butler-publish-itchio-action@v1.0.2
# env:
# BUTLER_CREDENTIALS: ${{ secrets.BUTLER_CREDENTIALS }}
# CHANNEL: osx
# ITCH_GAME: 2planets
# ITCH_USER: pomme-grenade
# PACKAGE: export/osx