workflow
This commit is contained in:
parent
f028346f83
commit
77e592122e
1 changed files with 5 additions and 19 deletions
24
.github/workflows/main.yml
vendored
24
.github/workflows/main.yml
vendored
|
@ -111,29 +111,15 @@ jobs:
|
||||||
- name: Find APK Files
|
- name: Find APK Files
|
||||||
run: find app-release -name "*.apk"
|
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
|
- name: Sign app APK
|
||||||
uses: r0adkll/sign-android-release@v1
|
- uses: ilharp/sign-android-release@v1 # Or use @nightly
|
||||||
# ID used to access action output
|
|
||||||
id: sign_app
|
id: sign_app
|
||||||
with:
|
with:
|
||||||
releaseDirectory: app-release/app/build/outputs/apk/release
|
releaseDir: app/build/outputs/apk/release
|
||||||
signingKeyBase64: ${{ secrets.KEYSTORE_FILE }}
|
signingKey: ${{ secrets.KEYSTORE_FILE }}
|
||||||
alias: ${{ secrets.KEYSTORE_ALIAS }}
|
keyAlias: ${{ secrets.KEYSTORE_ALIAS }}
|
||||||
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
|
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
|
||||||
env:
|
buildToolsVersion: 35.0.0
|
||||||
BUILD_TOOLS_VERSION: "34.0.0"
|
|
||||||
|
|
||||||
# # Step 8: Sign
|
# # Step 8: Sign
|
||||||
# - name: Decode Keystore
|
# - name: Decode Keystore
|
||||||
|
|
Loading…
Reference in a new issue