Skip to content

Commit

Permalink
fix: android for release flow according issue discussion (#2319)
Browse files Browse the repository at this point in the history
* fix for release flow according issue discussion
r0adkll/sign-android-release#84

* removed extra line

* hardcoded build tools to 34

* created extra step to find out latest built tools for signing apk
  • Loading branch information
Dmitry-Borodin authored Feb 1, 2024
1 parent 66ddf93 commit 968a28f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,13 @@ jobs:
run: |
./gradlew clean assembleRelease --stacktrace
- 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 app APK
uses: r0adkll/sign-android-release@v1
# ID used to access action output
Expand All @@ -139,6 +146,8 @@ jobs:
alias: ${{ secrets.ANDROID_KEYSTORE_KEY_ALIAS }}
keyStorePassword: ${{ secrets.ANDROID_PLAY_STORE_KEYSTORE_PASSWORD }}
keyPassword: ${{ secrets.ANDROID_PLAY_STORE_KEYSTORE_PASSWORD }}
env:
BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}

- name: Upload Gplay release APKs
uses: actions/upload-artifact@v3
Expand All @@ -156,4 +165,3 @@ jobs:
track: internal



0 comments on commit 968a28f

Please sign in to comment.