File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -63,11 +63,18 @@ jobs:
6363 - name : Make Gradlew executable
6464 run : cd android && chmod +x ./gradlew
6565
66+ - name : Setup build tool version variable
67+ shell : bash
68+ run : |
69+ BUILD_TOOL_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1)
70+ echo "BUILD_TOOL_VERSION=$BUILD_TOOL_VERSION" >> $GITHUB_ENV
71+ echo Last build tool version is: $BUILD_TOOL_VERSION
72+
6673 - name : Build Android
6774 run : |
6875 cd android
6976 ./gradlew assembleRelease --no-daemon --info
70- for f in app/build/outputs/apk/release/*-unsigned.apk; do mv "$f" "${f%-unsigned.apk}.apk"; done
77+ for f in app/build/outputs/apk/release/*-unsigned.apk; do mv "$f" "${f%-unsigned.apk}.apk"; done
7178
7279 - name : Sign App Bundle
7380 id : sign_app
7885 alias : ${{ secrets.ANDROID_SIGNING_ALIAS }}
7986 keyStorePassword : ${{ secrets.ANDROID_SIGNING_STORE_PASSWORD }}
8087 keyPassword : ${{ secrets.ANDROID_SIGNING_KEY_PASSWORD }}
88+ env :
89+ BUILD_TOOLS_VERSION : ${{ env.BUILD_TOOL_VERSION }}
8190
8291 - name : Remove unuseful files
8392 run :
You can’t perform that action at this time.
0 commit comments