From 667daebc6f792344d644511f0286fdd5b486e138 Mon Sep 17 00:00:00 2001 From: Paul Colby Date: Sat, 15 Jul 2023 15:24:47 +1000 Subject: [PATCH] Implement some of the APK signing steps --- .github/workflows/build.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 7769566..b2a0f74 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -64,6 +64,16 @@ jobs: - name: Download build artifacts uses: actions/download-artifact@v3 with: - name: my-artifact + name: build-outputs - name: Take a look around run: ls -R + - name: Prep Java KeyStore + run: base64 --decode <<< "$JAVA_KEYSTORE" > "$RUNNER_TEMP/keystore.jks" + env: + JAVA_KEYSTORE: ${{ secrets.JAVA_KEYSTORE }} + - name: Sign APKs + run: + mkdir -p "$RUNNER_TEMP/apks" + find "$GITHUB_WORKSPACE" -name '*-unsigned.apk' + env: + JAVA_KEYSTORE_PASSWORD: ${{ secrets.JAVA_KEYSTORE_PASSWORD }}