-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
29 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Prepare All | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
prepareAll: | ||
runs-on: macos-latest # use [ self-hosted, macOS ] to host on our own mac mini, which is twice as fast and cheaper than hosting on a github runner. See README for more info. | ||
steps: | ||
- name: Setup Java | ||
uses: actions/setup-java@v3 | ||
with: | ||
distribution: "corretto" | ||
java-version: "21" # keep the same as your Android Studio version | ||
cache: "gradle" | ||
|
||
- name: Setup Android SDK | ||
uses: android-actions/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Prepare release | ||
name: Prepare Release | ||
|
||
on: | ||
workflow_call: | ||
|
@@ -13,15 +13,15 @@ on: | |
required: true | ||
|
||
jobs: | ||
prepare: | ||
prepareRelease: | ||
runs-on: macos-latest # use [ self-hosted, macOS ] to host on our own mac mini, which is twice as fast and cheaper than hosting on a github runner. See README for more info. | ||
steps: | ||
- name: Update Version Code # we increase the version code with each build | ||
uses: chkfung/[email protected] | ||
with: | ||
gradlePath: app/build.gradle | ||
versionCode: ${{ github.run_number }} | ||
|
||
# This will decode the keystore from base 64 text representation that we have stored in secrets | ||
# and generates and keystore file and gets stored in /android-app path | ||
- name: Decode Keystore | ||
|
@@ -30,7 +30,7 @@ jobs: | |
RELEASE_KEYSTORE_PASSWORD: "${{ secrets.RELEASE_KEYSTORE_PASSWORD }}" | ||
RELEASE_KEYSTORE_ALIAS: "${{ secrets.RELEASE_KEYSTORE_ALIAS }}" | ||
RELEASE_KEY_PASSWORD: "${{ secrets.RELEASE_KEY_PASSWORD }}" | ||
|
||
shell: bash | ||
run: | | ||
echo $ENCODED_STRING > keystore-b64.txt | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.