diff options
author | Spartan322 <Megacake1234@gmail.com> | 2023-06-02 01:02:01 +0200 |
---|---|---|
committer | Spartan322 <Megacake1234@gmail.com> | 2023-06-02 01:02:01 +0200 |
commit | 3284e4a6558ebf908a2910543a56f4d015574bfa (patch) | |
tree | 452b63f7a77e410e3be784c0268d9fbf4bc3e1a2 | |
parent | 88817aeb97f93e45583e292b299860dbd90da02f (diff) |
Add environment variables for trivial Godot updates
-rw-r--r-- | .github/workflows/builds.yml | 14 |
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 }} |