Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 5 additions & 9 deletions .github/workflows/build-fcash2-upload-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,21 +127,14 @@ jobs:
fileDir: ./apps/flipcash/app/src
encodedString: ${{ secrets.FLIPCASH2_GOOGLE_SERVICES }}

- name: Decode Upload Key Store file into location 1
- name: Decode Upload Key Store file
uses: timheuer/base64-to-file@v1
id: signing_key
with:
fileName: key
fileDir: ./key
encodedString: ${{ secrets.UPLOAD_KEY_STORE }}

- name: Decode Upload Key Store file into location 2
uses: timheuer/base64-to-file@v1
with:
fileName: key
fileDir: ./apps/flipcash/app/key
encodedString: ${{ secrets.UPLOAD_KEY_STORE }}

- name: Setup BugSnag API Key
run: echo BUGSNAG_API_KEY=\"${{ secrets.FLIPCASH_BUGSNAG_API_KEY }}\" > ./local.properties

Expand All @@ -157,7 +150,10 @@ jobs:
- name: Build release
run: bundle exec fastlane android build_flipcash
env:
STORE_FILE: ${{ steps.signing_key.outputs.filePath }}
# base64-to-file reports a workspace-relative path, and AGP resolves
# android.injected.signing.store.file against the Gradle daemon's working
# directory, not the project — so pass it absolute.
STORE_FILE: ${{ github.workspace }}/${{ steps.signing_key.outputs.filePath }}
STORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
KEY_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
Expand Down
Loading