Chore: (attempt to) fix android build

This commit is contained in:
Pieter Vander Vennet 2025-05-03 18:06:32 +02:00
parent 7a370c6bd6
commit d2f1afe61c
2 changed files with 2 additions and 4 deletions

View file

@ -54,6 +54,7 @@ jobs:
export storePassword=${{ secrets.KEYSTORE_PASSWORD }} export storePassword=${{ secrets.KEYSTORE_PASSWORD }}
export keyAlias=${{ secrets.KEY_ALIAS }} export keyAlias=${{ secrets.KEY_ALIAS }}
export keyPassword=${{ secrets.KEY_PASSWORD }} export keyPassword=${{ secrets.KEY_PASSWORD }}
./gradlew build
./gradlew assembleRelease ./gradlew assembleRelease
- name: Upload APK to hetzner - name: Upload APK to hetzner

View file

@ -38,7 +38,6 @@ export default config;
rm -rf dist-full rm -rf dist-full
mkdir dist-full mkdir dist-full
cp dist/*.html dist-full/ cp dist/*.html dist-full/
cp dist/*.js dist-full/
cp dist/*.css dist-full/ cp dist/*.css dist-full/
# cp dist/*.webmanifest dist-full/ # Not needed # cp dist/*.webmanifest dist-full/ # Not needed
cp -r dist/css dist-full/ cp -r dist/css dist-full/
@ -66,8 +65,6 @@ cp -r dist/assets/generated/themes/ dist-full/assets/generated/
cp -r dist/assets/themes dist-full/assets/ cp -r dist/assets/themes dist-full/assets/
cp dist/assets/*.js.map dist-full/assets/ cp dist/assets/*.js.map dist-full/assets/
rm -rf dist-full/assets/data/nsi rm -rf dist-full/assets/data/nsi
rm /home/pietervdvn/git/MapComplete/dist-full/assets/layers/nsi_brand/nsi_brand.json
rm /home/pietervdvn/git/MapComplete/dist-full/assets/layers/nsi_operator/nsi_operator.json
# mkdir dist-full/assets/generated # mkdir dist-full/assets/generated
nvm use nvm use
@ -80,5 +77,5 @@ npx cap sync
npm run clean npm run clean
tput bel tput bel
tput bel tput bel # Note: tput doesn't work in the runners and may not be the last command, otherwise, it'll fail.
echo "All done! Don't forget to click 'gradle sync files' in Android Studio" echo "All done! Don't forget to click 'gradle sync files' in Android Studio"