Skip to content

Commit

Permalink
Update released-app-distribution.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino authored Mar 11, 2024
1 parent 8d14626 commit 7686079
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/released-app-distribution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ jobs:
- name: Build release APK
run: ./gradlew assembleRelease

- name: Setup build tool version variable
shell: bash
run: |
BUILD_TOOL_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1)
echo "BUILD_TOOL_VERSION=$BUILD_TOOL_VERSION" >> $GITHUB_ENV
echo Last build tool version is: $BUILD_TOOL_VERSION
- name: Sign APK
id: sign_app
uses: r0adkll/sign-android-release@v1
Expand All @@ -42,6 +49,8 @@ jobs:
alias: ${{ secrets.KEY_ALIAS }}
keyStorePassword: ${{ secrets.KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}

- name: Authenticate to Firebase
uses: google-github-actions/auth@v1
Expand Down

0 comments on commit 7686079

Please sign in to comment.