Skip to content

Commit 47ed1c7

Browse files
Merge branch 'master' into dev
2 parents eef1154 + 5af9a52 commit 47ed1c7

File tree

3 files changed

+439
-281
lines changed

3 files changed

+439
-281
lines changed

.github/workflows/godot-export.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Whenever a tag push matching pattern "v*" then run the job
2+
on:
3+
push:
4+
5+
6+
jobs:
7+
# job id, can be anything
8+
export_game:
9+
# Always use ubuntu-latest for this action
10+
runs-on: ubuntu-latest
11+
# Add permission for release creation. Can be made narrower according to your needs
12+
permissions: write-all
13+
# Job name, can be anything
14+
name: Export Spectrum code
15+
steps:
16+
# Always include the checkout step so that
17+
# your project is available for Godot to export
18+
- name: checkout
19+
uses: actions/[email protected]
20+
21+
- name: export Spectrum
22+
id: export
23+
# Use latest version (see releases for all versions)
24+
uses: firebelley/[email protected]
25+
with:
26+
# Defining all the required inputs
27+
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_linux.x86_64.zip
28+
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.0/Godot_v4.0-stable_export_templates.tpz
29+
relative_project_path: ./
30+
archive_output: true
31+
32+
# This release action has worked well for me. However, you can most likely use any release action of your choosing.
33+
# https://github.com/ncipollo/release-action
34+
- name: create release
35+
uses: ncipollo/[email protected]
36+
with:
37+
token: ${{ secrets.GITHUB_TOKEN }}
38+
generateReleaseNotes: true
39+
tag: ${{ github.ref_name }}
40+
artifacts: ${{ steps.export.outputs.archive_directory }}/*
41+

0 commit comments

Comments
 (0)