tools for exporting godot projects via Github Actions
Diffstat (limited to '.github/actions/setup-godot/action.yml')
-rw-r--r--.github/actions/setup-godot/action.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.github/actions/setup-godot/action.yml b/.github/actions/setup-godot/action.yml
index ecb0f71..9197a26 100644
--- a/.github/actions/setup-godot/action.yml
+++ b/.github/actions/setup-godot/action.yml
@@ -5,13 +5,16 @@ runs:
using: "composite"
steps:
- name: Checkout
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
with:
lfs: true
submodules: recursive
- name: Setup
run: |
+ git config --global --add safe.directory $(pwd)
+ git rev-parse --short HEAD > version
mkdir -v -p ~/.local/share/godot/templates
[[ -z $RELEASE ]] && RELEASE=stable
mv /root/.local/share/godot/templates/${GODOT_VERSION}.${RELEASE} ~/.local/share/godot/templates/${GODOT_VERSION}.${RELEASE}
+ ls ~/.local/share/godot/templates/${GODOT_VERSION}.${RELEASE} | tr '\n' ' '
shell: bash