-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (31 loc) · 1.18 KB
/
godot_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
# This is a basic workflow to help you get started with Actions
name: GodotExportCI
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: get tag from version
id: tag_version
run: |
echo ::set-output name=TAG_VERSION::${GITHUB_REF#refs/tags/v}
- name: Export game
uses: firebelley/[email protected]
with:
# The download url of the 64 bit Linux Headless Godot executable.
godot_executable_download_url: "https://downloads.tuxfamily.org/godotengine/3.4/Godot_v3.4-stable_linux_headless.64.zip"
# The url of the export templates corresponding to the Godot executable version.
godot_export_templates_download_url: "https://downloads.tuxfamily.org/godotengine/3.4/Godot_v3.4-stable_export_templates.tpz"
# The relative path containing the "project.godot" file.
relative_project_path: "./"
create_release: true
base_version: ${{ steps.tag_version.outputs.TAG_VERSION}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}