tools for exporting godot projects via Github Actions
release choosing support
bendn 2022-07-19
parent 40d0024 · commit 89dd896
-rw-r--r--.github/actions/setup-godot/action.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/actions/setup-godot/action.yml b/.github/actions/setup-godot/action.yml
index 6bbad50..ecb0f71 100644
--- a/.github/actions/setup-godot/action.yml
+++ b/.github/actions/setup-godot/action.yml
@@ -12,5 +12,6 @@ runs:
- name: Setup
run: |
mkdir -v -p ~/.local/share/godot/templates
- mv /root/.local/share/godot/templates/${GODOT_VERSION}.stable ~/.local/share/godot/templates/${GODOT_VERSION}.stable
+ [[ -z $RELEASE ]] && RELEASE=stable
+ mv /root/.local/share/godot/templates/${GODOT_VERSION}.${RELEASE} ~/.local/share/godot/templates/${GODOT_VERSION}.${RELEASE}
shell: bash