-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (38 loc) · 1.29 KB
/
release.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
name: 2. release
on:
push:
branches:
- master
env:
LANG: "en_US.UTF-8"
jobs:
export:
name: release
runs-on: ubuntu-latest
steps:
- name: set locale
run: |
sudo locale-gen en_US.UTF-8
sudo update-locale LANG=en_US.UTF-8
- name: checkout code
uses: actions/[email protected]
with:
fetch-depth: 0
- name: create executables
uses: firebelley/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_TOKEN }}
GODOT_MONO_FILE_VERSION: 3.5-stable
GODOT_MONO_URL_VERSION: 3.5
with:
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/${{env.GODOT_MONO_URL_VERSION}}/mono/Godot_v${{env.GODOT_MONO_FILE_VERSION}}_mono_linux_headless_64.zip
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/${{env.GODOT_MONO_URL_VERSION}}/mono/Godot_v${{env.GODOT_MONO_FILE_VERSION}}_mono_export_templates.tpz
relative_project_path: ./
archive_export_output: true
create_release: true
base_version: 0.0.1
- name: upload executables
uses: actions/upload-artifact@v2
with:
name: executables
path: ~/.local/share/godot/dist/*.zip