This commit is contained in:
nomadics9 2024-12-16 02:24:31 +03:00
parent f028346f83
commit 77e592122e

View file

@ -111,29 +111,15 @@ jobs:
- name: Find APK Files
run: find app-release -name "*.apk"
- name: Set up Android SDK
uses: android-actions/setup-android@v2
with:
api-level: latest
build-tools: latest
- name: Export Android SDK Path
run: |
echo "ANDROID_HOME=$ANDROID_HOME" >> $GITHUB_ENV
echo "$ANDROID_HOME/platform-tools" >> $GITHUB_PATH
echo "$ANDROID_HOME/build-tools/latest" >> $GITHUB_PATH
- name: Sign app APK
uses: r0adkll/sign-android-release@v1
# ID used to access action output
- uses: ilharp/sign-android-release@v1 # Or use @nightly
id: sign_app
with:
releaseDirectory: app-release/app/build/outputs/apk/release
signingKeyBase64: ${{ secrets.KEYSTORE_FILE }}
alias: ${{ secrets.KEYSTORE_ALIAS }}
releaseDir: app/build/outputs/apk/release
signingKey: ${{ secrets.KEYSTORE_FILE }}
keyAlias: ${{ secrets.KEYSTORE_ALIAS }}
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
env:
BUILD_TOOLS_VERSION: "34.0.0"
buildToolsVersion: 35.0.0
# # Step 8: Sign
# - name: Decode Keystore