From ff97d7be0bb9706ff2ae898554c5041a33ff145f Mon Sep 17 00:00:00 2001 From: emreesen27 <45034416+emreesen27@users.noreply.github.com> Date: Mon, 12 Feb 2024 15:53:54 +0300 Subject: [PATCH] [FIX][service json fix] --- .github/workflows/deploy_release.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_release.yml b/.github/workflows/deploy_release.yml index 19cf292..00f300c 100644 --- a/.github/workflows/deploy_release.yml +++ b/.github/workflows/deploy_release.yml @@ -17,8 +17,15 @@ jobs: with: submodules: 'true' - - name: Create Google Services JSON file - run: echo "${{ secrets.GOOGLE_SERVICES_JSON }}" > /home/runner/work/Android-Sn-File-Manager/Android-Sn-File-Manager/app/google-services.json + - name: Create Google Services JSON + id: create_google_json + uses: jsdaniell/create-json@1.1.2 + with: + name: "google-services.json" + json: ${{ secrets.GOOGLE_SERVICES_JSON }} + + - name: Move Google Services JSON to App Directory + run: mv google-services.json /home/runner/work/Android-Sn-File-Manager/Android-Sn-File-Manager/app/google-services.json - name: Build APK with Gradle run: ./gradlew assembleRelease