aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
author George L. Albany <Megacake1234@gmail.com>2023-06-02 23:19:18 +0200
committer GitHub <noreply@github.com>2023-06-02 23:19:18 +0200
commit73e29d02e48739aba5ca5db1b9575c67e795400f (patch)
tree452b63f7a77e410e3be784c0268d9fbf4bc3e1a2 /.github
parent88817aeb97f93e45583e292b299860dbd90da02f (diff)
parent3284e4a6558ebf908a2910543a56f4d015574bfa (diff)
Merge pull request #129 from Spartan322/trivial-workflow-godot
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/builds.yml14
1 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml
index 8693696..52be62c 100644
--- a/.github/workflows/builds.yml
+++ b/.github/workflows/builds.yml
@@ -2,6 +2,12 @@ name: Builds
on: [push, pull_request]
+env:
+ GODOT_DOWNLOAD_URL: https://downloads.tuxfamily.org/godotengine
+ GODOT_VERSION_PREFIX: Godot_v
+ GODOT_VERSION_SUFFIX: stable
+ GODOT_VERSION: 4.0.3
+
concurrency:
group: ci-${{github.actor}}-${{github.head_ref || github.run_number}}-${{github.ref}}-macos
cancel-in-progress: true
@@ -148,8 +154,8 @@ jobs:
id: export_game
uses: Spartan322/godot-export@master
with:
- godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.0.3/Godot_v4.0.3-stable_linux.x86_64.zip
- godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.0.3/Godot_v4.0.3-stable_export_templates.tpz
+ godot_executable_download_url: ${{env.GODOT_DOWNLOAD_URL}}/${{env.GODOT_VERSION}}/${{env.GODOT_VERSION_PREFIX}}${{env.GODOT_VERSION}}-${{env.GODOT_VERSION_SUFFIX}}_linux.x86_64.zip
+ godot_export_templates_download_url: ${{env.GODOT_DOWNLOAD_URL}}/${{env.GODOT_VERSION}}/${{env.GODOT_VERSION_PREFIX}}${{env.GODOT_VERSION}}-${{env.GODOT_VERSION_SUFFIX}}_export_templates.tpz
relative_project_path: ./game
export_as_pack: true
export_debug: true
@@ -196,8 +202,8 @@ jobs:
id: export_game
uses: Spartan322/godot-export@master
with:
- godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.0.3/Godot_v4.0.3-stable_linux.x86_64.zip
- godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.0.3/Godot_v4.0.3-stable_export_templates.tpz
+ godot_executable_download_url: ${{env.GODOT_DOWNLOAD_URL}}/${{env.GODOT_VERSION}}/${{env.GODOT_VERSION_PREFIX}}${{env.GODOT_VERSION}}-${{env.GODOT_VERSION_SUFFIX}}_linux.x86_64.zip
+ godot_export_templates_download_url: ${{env.GODOT_DOWNLOAD_URL}}/${{env.GODOT_VERSION}}/${{env.GODOT_VERSION_PREFIX}}${{env.GODOT_VERSION}}-${{env.GODOT_VERSION_SUFFIX}}_export_templates.tpz
relative_project_path: ./game
archive_output: true
wine_path: ${{ steps.wine_install.outputs.WINE_PATH }}