Skip to content

Commit

Permalink
Update CI/CD script
Browse files Browse the repository at this point in the history
  • Loading branch information
baharudin-yusup committed Dec 20, 2023
1 parent 786b1cc commit ebd7a5b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/main_build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,13 @@ jobs:
fileName: 'keystore.jks'
encodedString: ${{ secrets.GH_ACTIONS_SIGNING_STORE_BASE64 }}

- name: Set Keystore Location
run: echo "GH_ACTIONS_SIGNING_STORE_FILE_PATH=${{ steps.decode_keystore.outputs.filePath }}" >> $GITHUB_ENV

- name: Build Release APK
env:
GH_ACTIONS_SIGNING_STORE_FILE_PATH: ${{ steps.decode_keystore.outputs.filePath }}
run: ./gradlew app:assembleRelease

- name: Build Release Bundle
env:
GH_ACTIONS_SIGNING_STORE_FILE_PATH: ${{ steps.decode_keystore.outputs.filePath }}
run: ./gradlew app:bundleRelease

- name: Upload Release Build to Artifacts
Expand All @@ -64,7 +63,7 @@ jobs:
app/build/outputs/apk/release/*.apk
app/build/outputs/bundle/release/*.aab
- name : Retrieve Version
- name : Retrieve Release Version
id: retrieve_version
run: |
VERSION_NAME=$(${{github.workspace}}/gradlew -q printVersionNameRelease)
Expand Down

0 comments on commit ebd7a5b

Please sign in to comment.