Handle missing mapping output in no-shrink Forgejo builds.
All checks were successful
Forgejo Release Builder / release (push) Successful in 20m37s
All checks were successful
Forgejo Release Builder / release (push) Successful in 20m37s
Only create mapping zip when the mapping directory exists to avoid zip failures when code shrinking is disabled.
This commit is contained in:
parent
ab252123ae
commit
55d7525d26
1 changed files with 3 additions and 1 deletions
|
|
@ -131,7 +131,9 @@ jobs:
|
|||
mv app/build/outputs/apk/release/app-x86-release-unsigned.apk "Komikku-x86-${version_tag}-unsigned.apk"
|
||||
mv app/build/outputs/apk/release/app-x86_64-release-unsigned.apk "Komikku-x86_64-${version_tag}-unsigned.apk"
|
||||
|
||||
zip -qr "Komikku-mapping-${version_tag}.zip" app/build/outputs/mapping/release
|
||||
if [ -d app/build/outputs/mapping/release ]; then
|
||||
zip -qr "Komikku-mapping-${version_tag}.zip" app/build/outputs/mapping/release
|
||||
fi
|
||||
|
||||
- name: Create or update release
|
||||
id: release
|
||||
|
|
|
|||
Loading…
Reference in a new issue