From 9357a92623ca07d323c37c5aa0e499a96747ce36 Mon Sep 17 00:00:00 2001 From: KoalaSat Date: Tue, 12 Mar 2024 18:46:26 +0100 Subject: [PATCH] Fix release --- .github/workflows/android-build.yml | 5 ++++- .github/workflows/release.yml | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/android-build.yml b/.github/workflows/android-build.yml index 90505bba..aa44721a 100644 --- a/.github/workflows/android-build.yml +++ b/.github/workflows/android-build.yml @@ -1,6 +1,9 @@ name: "Build: Android" on: workflow_dispatch: + keystore: + type: string + description: base64 keystore workflow_call: push: branches: [ "main" ] @@ -37,7 +40,7 @@ jobs: with: fileName: 'keystore.jks' fileDir: './' - encodedString: ${{ secrets.KEYSTORE }} + encodedString: ${{ github.event.inputs.keystore || secrets.KEYSTORE }} - name: 'Build Android Release' run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5190e6d7..fa2f3019 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,6 +14,8 @@ env: jobs: android-build: uses: KoalaSat/nostros/.github/workflows/android-build.yml@main + with: + keystore: ${{ secrets.KEYSTORE }} release: needs: [android-build] runs-on: ubuntu-latest