Fix some export_templates folder names not being replaced

This commit is contained in:
Hugo Locurcio
2024-02-10 19:41:57 +01:00
parent 373788c30a
commit 66b7d6fef1
2 changed files with 4 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ jobs:
lfs: true lfs: true
- name: Setup - name: Setup
run: | run: |
mkdir -v -p ~/.local/share/godot/templates mkdir -v -p ~/.local/share/godot/export_templates/
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Windows Build - name: Windows Build
run: | run: |
@@ -44,7 +44,7 @@ jobs:
lfs: true lfs: true
- name: Setup - name: Setup
run: | run: |
mkdir -v -p ~/.local/share/godot/templates mkdir -v -p ~/.local/share/godot/export_templates/
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Linux Build - name: Linux Build
run: | run: |
@@ -69,7 +69,7 @@ jobs:
lfs: true lfs: true
- name: Setup - name: Setup
run: | run: |
mkdir -v -p ~/.local/share/godot/templates mkdir -v -p ~/.local/share/godot/export_templates/
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Web Build - name: Web Build
run: | run: |
@@ -102,7 +102,7 @@ jobs:
lfs: true lfs: true
- name: Setup - name: Setup
run: | run: |
mkdir -v -p ~/.local/share/godot/templates mkdir -v -p ~/.local/share/godot/export_templates/
mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable mv /root/.local/share/godot/export_templates/${GODOT_VERSION}.stable ~/.local/share/godot/export_templates/${GODOT_VERSION}.stable
- name: Mac Build - name: Mac Build
run: | run: |

View File

@@ -26,7 +26,6 @@ RUN wget https://downloads.tuxfamily.org/godotengine/${GODOT_VERSION}${SUBDIR}/G
&& mkdir ~/.cache \ && mkdir ~/.cache \
&& mkdir -p ~/.config/godot \ && mkdir -p ~/.config/godot \
&& mkdir -p ~/.local/share/godot/export_templates/${GODOT_VERSION}.${RELEASE_NAME} \ && mkdir -p ~/.local/share/godot/export_templates/${GODOT_VERSION}.${RELEASE_NAME} \
&& ln -s ~/.local/share/godot/templates ~/.local/share/godot/export_templates \
&& unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM}.zip \ && unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM}.zip \
&& mv Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM} /usr/local/bin/godot \ && mv Godot_v${GODOT_VERSION}-${RELEASE_NAME}_${GODOT_PLATFORM} /usr/local/bin/godot \
&& unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_export_templates.tpz \ && unzip Godot_v${GODOT_VERSION}-${RELEASE_NAME}_export_templates.tpz \