Skip to content

Commit

Permalink
work_flow_test3_36
Browse files Browse the repository at this point in the history
  • Loading branch information
iZakirSheikh committed Aug 22, 2023
1 parent 4c0b721 commit 9f2dd0d
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,27 @@ jobs:
run: chmod +x ./gradlew

# Create APK Release
- name: Build apk release project (APK) - ${{ env.main_project_module }} module
run: ./gradlew assembleRelease
#- name: Build apk release project (APK) - ${{ env.main_project_module }} module
# run: ./gradlew assembleRelease

# Create Bundle AAB Release
# Noted for main module build [main_project_module]:bundleRelease
- name: Build app bundle release (AAB) - ${{ env.main_project_module }} module
run: ./gradlew ${{ env.main_project_module }}:bundleRelease

#- uses: r0adkll/sign-android-release@v1
# name: Sign APK
# # ID used to access action output
# id: sign_app
# with:
# releaseDirectory: ${{ env.main_project_module }}/build/outputs/apk/release/
# signingKeyBase64: ${{ secrets.SIGNING_KEY_STORE_BASE64 }}
# alias: ${{ secrets.SIGNING_KEY_ALIAS }}
# keyStorePassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
# keyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}

- uses: r0adkll/sign-android-release@v1
name: Sign APK
name: Sign AAB
# ID used to access action output
id: sign_app
with:
Expand All @@ -65,7 +81,6 @@ jobs:
keyStorePassword: ${{ secrets.SIGNING_KEY_PASSWORD }}
keyPassword: ${{ secrets.SIGNING_KEY_PASSWORD }}


- name: Create Github Release
uses: softprops/action-gh-release@v1
with:
Expand All @@ -74,3 +89,11 @@ jobs:
prerelease: true
files: |
${{steps.sign_app.outputs.signedReleaseFile}}
- name: Upload Android release to PlayStore
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.SERVICE_ACCOUNT_JSON }}
packageName: com.prime.toolz2
releaseFiles: ${{steps.sign_app.outputs.signedReleaseFile}}
track: internal

0 comments on commit 9f2dd0d

Please sign in to comment.