From 85c3efe332d60c3bd4b574b4d1e248200e215575 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Sun, 4 Feb 2024 15:04:52 +0100 Subject: [PATCH] Fix release workflow (hopefully) --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e098f8c..e8afdbc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,10 +25,10 @@ jobs: - name: Build release APK run: | ./gradlew assembleRelease - $ANDROID_SDK_ROOT/build-tools/30.0.2/zipalign -v -p 4 app/build/outputs/apk/release/app-release-unsigned.apk app/build/outputs/apk/release/app-release-unsigned-aligned.apk + $ANDROID_SDK_ROOT/build-tools/34.0.0/zipalign -v -p 4 app/build/outputs/apk/release/app-release-unsigned.apk app/build/outputs/apk/release/app-release-unsigned-aligned.apk echo "${{ secrets.KEYSTORE_FILE }}" | base64 -d > keystore.jks - echo "${{ secrets.KEYSTORE_PASSWORD }}" | $ANDROID_SDK_ROOT/build-tools/30.0.2/apksigner sign --ks keystore.jks --out app-release.apk app/build/outputs/apk/release/app-release-unsigned-aligned.apk - $ANDROID_SDK_ROOT/build-tools/30.0.2/apksigner verify app-release.apk + echo "${{ secrets.KEYSTORE_PASSWORD }}" | $ANDROID_SDK_ROOT/build-tools/34.0.0/apksigner sign --ks keystore.jks --out app-release.apk app/build/outputs/apk/release/app-release-unsigned-aligned.apk + $ANDROID_SDK_ROOT/build-tools/34.0.0/apksigner verify app-release.apk - name: Parse tag id: parse_tag run: "echo ${{ github.ref }} | sed 's#^refs/tags/#::set-output name=version::#'"