Fix Build Release APK (Maybe)
Some checks failed
Android Release / release (push) Failing after 1m23s

This commit is contained in:
2026-01-18 01:18:36 +03:00
parent b5ade63bf9
commit 53247d46e1
2 changed files with 20 additions and 19 deletions

View File

@@ -42,17 +42,20 @@ jobs:
fi
- name: Decode keystore
if: steps.stop.outputs.continue == 'true'
run: |
mkdir -p app
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > app/release.keystore
echo "${{ secrets.KEYSTORE_BASE64 }}" | base64 -d > release.keystore
- name: Check keystore
if: steps.stop.outputs.continue == 'true'
run: ls -l app/
- name: Make Gradlew executable
if: steps.stop.outputs.continue == 'true'
run: chmod +x ./gradlew
- name: Set up Android SDK
if: steps.stop.outputs.continue == 'true'
run: |
mkdir -p $HOME/Android/sdk/cmdline-tools
wget https://dl.google.com/android/repository/commandlinetools-linux-9477386_latest.zip -O cmdline-tools.zip
@@ -78,7 +81,7 @@ jobs:
run: |
VERSION=$(cat version.txt)
./gradlew assembleRelease \
-Pandroid.injected.signing.store.file=app/release.keystore \
-Pandroid.injected.signing.store.file=release.keystore \
-Pandroid.injected.signing.store.password=$KEYSTORE_PASSWORD \
-Pandroid.injected.signing.key.alias=$KEY_ALIAS \
-Pandroid.injected.signing.key.password=$KEY_PASSWORD