update workflow

This commit is contained in:
Nitwel 2023-11-20 17:32:29 +01:00
parent f9cc703579
commit 490e65c773

View File

@ -47,29 +47,35 @@ jobs:
mkdir -p ./android/build mkdir -p ./android/build
touch ./android/build/.gdignore touch ./android/build/.gdignore
- name: Test1 wget -nv https://downloads.tuxfamily.org/godotengine/4.1.3/Godot_v4.1.3-stable_export_templates.tpz -O ./godot_templates.tpz
run: | unzip -q ./godot_templates.tpz -d .
cat ~/.config/godot/editor_settings-4.tres rm ./godot_templates.tpz
unzip -q ./templates/android_source.zip -d ./android/build/
rm ./templates/android_source.zip
- name: export game # - name: Test1
id: export # run: |
# Use latest version (see releases for all versions) # cat ~/.config/godot/editor_settings-4.tres
uses: firebelley/godot-export@v5.2.1
with:
# Defining all the required inputs
godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.1.3/Godot_v4.1.3-stable_linux.x86_64.zip
godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.1.3/Godot_v4.1.3-stable_export_templates.tpz
export_debug: true
relative_project_path: ./
archive_output: true
verbose: true
- name: Test2 # - name: export game
run: | # id: export
cat ~/.config/godot/editor_settings-4.tres # # Use latest version (see releases for all versions)
# uses: firebelley/godot-export@v5.2.1
# with:
# # Defining all the required inputs
# godot_executable_download_url: https://downloads.tuxfamily.org/godotengine/4.1.3/Godot_v4.1.3-stable_linux.x86_64.zip
# godot_export_templates_download_url: https://downloads.tuxfamily.org/godotengine/4.1.3/Godot_v4.1.3-stable_export_templates.tpz
# export_debug: true
# relative_project_path: ./
# archive_output: true
# verbose: true
- name: Upload APK # - name: Test2
uses: actions/upload-artifact@v2 # run: |
with: # cat ~/.config/godot/editor_settings-4.tres
name: immersive-home-debug
path: ${{ steps.export.outputs.archive_directory }} # - name: Upload APK
# uses: actions/upload-artifact@v2
# with:
# name: immersive-home-debug
# path: ${{ steps.export.outputs.archive_directory }}