Skip to content

Commit

Permalink
Allow for .aab files to be uploaded as artifacts (#1107)
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandar-apostolov authored Jun 7, 2024
1 parent a15ec4d commit b55c0a8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/internal-app-distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2

- name: Set up JDK 17
uses: actions/setup-java@v2
with:
distribution: adopt
java-version: 17

- name: Prepare environment
run: |
echo "${{ secrets.RELEASE_KEYSTORE }}" > .sign/release.keystore.asc
Expand All @@ -26,5 +28,15 @@ jobs:
echo "${{ secrets.SERVICE_ACCOUNT_CREDENTIALS }}" > .sign/service-account-credentials.json.asc
gpg -d --passphrase "${{ secrets.PASSPHRASE }}" --batch .sign/service-account-credentials.json.asc > .sign/service-account-credentials.json
echo "${{ secrets.ENV_PROPERTIES }}" > .env.properties
- name: Build release bundle
run: ./gradlew bundleRelease --stacktrace

- name: Upload AAB as artifact
uses: actions/upload-artifact@v2
with:
name: app-bundle
path: app/build/outputs/bundle/release/*.aab

- name: Publish Bundle
run: bash ./gradlew publishBundle --stacktrace
run: bash ./gradlew publishBundle --stacktrace

0 comments on commit b55c0a8

Please sign in to comment.