From aaf91d910ff71a7e3dac1ee8d35bac4276dcc6fd Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Thu, 13 Apr 2023 16:15:29 +0530 Subject: [PATCH] Changed branch to test publication and replace secrets in publish.yml file --- .github/workflows/publish.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index a942eaa..8d8f45a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,7 +13,7 @@ jobs: uses: actions/checkout@v3 - name: Retrieving Kiwix Android source code - run: git clone --single-branch --branch develop 91a999f https://github.com/kiwix/kiwix-android.git + run: git clone --single-branch --branch FixesIssue#2961 https://github.com/kiwix/kiwix-android.git - name: Copying custom app configuration into Kiwix Android code base run: ./copy_files_to_kiwix_android.sh @@ -21,11 +21,10 @@ jobs: - name: Preparing signing material env: keystore: ${{ secrets.keystore }} - google_json: ${{ secrets.PLAYSTORE_JSON }} + playstore_json: ${{ secrets.PLAYSTORE_JSON }} run: | - echo "$google_json" | base64 -d > kiwix-android/google.json + echo "$playstore_json" | base64 -d > kiwix-android/playstore.json echo "$keystore" | base64 -d > kiwix-android/kiwix-android.keystore - - name: Publishing app to Google Play env: @@ -35,4 +34,4 @@ jobs: run: | cd kiwix-android echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV - eval "./gradlew publish${TAG^}ReleaseApkWithExpansionFile" + eval "./gradlew publish${TAG^}ReleaseApkWithExpansionFile --scan"