From cb4ea1faeb723dc5014f4641cd44e8d5bb6ef726 Mon Sep 17 00:00:00 2001 From: Daniel Yrovas Date: Thu, 15 Feb 2024 20:26:40 +1100 Subject: [PATCH] add android sdk to pipeline --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 813265e..ee98c3e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,8 @@ jobs: distribution: 'temurin' java-version: 19 cache: 'gradle' + - name: Setup Android SDK + uses: android-actions/setup-android@v3 - name: Execute Gradle build run: ./gradlew --no-daemon --build-cache assembleRelease @@ -29,7 +31,7 @@ jobs: jarsigner -verbose -sigalg SHA256withRSA -digestalg SHA-256 -keystore keystore.jks -storepass ${{ secrets.KEY_PASSWD }} -keypass ${{ secrets.KEY_PASSWD }} app/build/outputs/apk/release/app-release-unsigned.apk ${{ secrets.KEY_ALIAS }} - name: Verify the APK signature - run: jarsigner -verify -verbose -certs app/build/outputs/apk/release/app-release-unsigned.apk + run: jarsigner -verify -verbose -certs -keystore keystore.jks -storepass ${{ secrets.KEY_PASSWD }} app/build/outputs/apk/release/app-release-unsigned.apk ${{ secrets.KEY_ALIAS }} - name: Zipalign the APK run: zipalign -v 4 app/build/outputs/apk/release/app-release-unsigned.apk app/build/outputs/apk/release/app-release.apk