Skip to content

Commit a556321

Browse files
Update build.yml
1 parent 923aeaa commit a556321

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ jobs:
102102
mkdir -p ~/.local/share/godot/export_templates/${GODOT_VERSION}.${GODOT_RELEASE}/
103103
mv ./bin/android_debug.apk ~/.local/share/godot/export_templates/${GODOT_VERSION}.${GODOT_RELEASE}/android_debug.apk
104104
mv ./bin/android_source.zip ~/.local/share/godot/export_templates/${GODOT_VERSION}.${GODOT_RELEASE}/android_source.zip
105+
mv ./bin/android-template-release-native-symbols.zip ~/.local/share/godot/native_debug_symbols.zip
105106
106-
- if: ${{ steps.cache-template.outputs.cache-hit != 'true' }}
107-
name: Build Godot release template for Android
107+
- name: Build Godot release template for Android
108108
run: |
109109
cd godot
110110
scons p=android arch=x86_32 ${BUILD_OPTIONS} target=template_release debug_symbols=yes
@@ -131,6 +131,7 @@ jobs:
131131
patch "android/build/src/com/godot/game/GodotApp.java" "godot_only/GodotApp.patch"
132132
133133
- name: Export debug project
134+
if: github.event_name == 'workflow_dispatch'
134135
env:
135136
GODOT_ANDROID_KEYSTORE_DEBUG_PATH: "./godot_only/debug.keystore"
136137
GODOT_ANDROID_KEYSTORE_DEBUG_USER: "androiddebugkey"
@@ -158,7 +159,7 @@ jobs:
158159
with:
159160
name: ${{ env.PROJECT_NAME }}-debug
160161
path: vectortouch/artifacts/VectorTouch-debug.apk
161-
if-no-files-found: error
162+
if-no-files-found: ignore
162163
retention-days: 28
163164

164165
- name: Upload release apk
@@ -181,6 +182,6 @@ jobs:
181182
uses: actions/upload-artifact@v4
182183
with:
183184
name: native_debug_symbols.zip
184-
path: godot/bin/android-template-release-native-symbols.zip
185+
path: ~/.local/share/godot/native_debug_symbols.zip
185186
if-no-files-found: ignore
186187
retention-days: 28

0 commit comments

Comments
 (0)