mirror of
https://github.com/ActivityLauncher/ActivityLauncher.git
synced 2026-08-22 07:13:20 +00:00
Fix: Update Android build workflow with proper keystore path and verification
This commit is contained in:
parent
2c9da58f4b
commit
8a0372f601
1 changed files with 11 additions and 2 deletions
13
.github/workflows/android-master.yml
vendored
13
.github/workflows/android-master.yml
vendored
|
|
@ -20,12 +20,21 @@ jobs:
|
|||
- name: Setup Gradle
|
||||
uses: gradle/actions/setup-gradle@v4
|
||||
- name: Prepare Android keystore
|
||||
run: echo ${{ secrets.ENCODEDKEYSTORE }} | base64 --decode > app/keystore.jks
|
||||
run: |
|
||||
echo ${{ secrets.ENCODEDKEYSTORE }} | base64 --decode > app/keystore.jks
|
||||
# Verify keystore was created successfully
|
||||
if [ -f app/keystore.jks ]; then
|
||||
echo "✓ Keystore file created successfully"
|
||||
ls -lh app/keystore.jks
|
||||
else
|
||||
echo "✗ Failed to create keystore file"
|
||||
exit 1
|
||||
fi
|
||||
- name: Build release APK
|
||||
run: ./gradlew assembleOssNoadsRelease --build-cache
|
||||
env:
|
||||
APPID: de.szalkowski.activitylauncher.oss
|
||||
KEYSTORE: keystore.jks
|
||||
KEYSTORE: app/keystore.jks
|
||||
KEYSTORE_PASSWORD: ${{ secrets.KEYSTOREPASSWORD }}
|
||||
KEY_ALIAS: de.szalkowski.activitylauncher.oss
|
||||
KEY_PASSWORD: ${{ secrets.KEYPASSWORD }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue