File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,24 @@ jobs:
3636 name : unsigned-app.apk
3737 path : .
3838
39- - uses : r0adkll/sign-android-release@v1
40- name : Sign the APK
39+ - name : Detect latest build tool version
40+ shell : bash
41+ run : |
42+ BUILD_TOOL_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1)
43+ echo "BUILD_TOOL_VERSION=$BUILD_TOOL_VERSION" >> $GITHUB_ENV
44+ echo Latest build tool version is: $BUILD_TOOL_VERSION
45+
46+ - name : Sign the APK
47+ uses : r0adkll/sign-android-release@v1
4148 id : sign_app
4249 with :
4350 releaseDirectory : .
4451 signingKeyBase64 : ${{ secrets.ANDROID_SIGNING_KEY }}
4552 alias : ${{ secrets.SIGNING_KEY_ALIAS }}
4653 keyStorePassword : ${{ secrets.SIGNING_KEY_STORE_PASSWORD }}
4754 keyPassword : ${{ secrets.SIGNING_KEY_PASSWORD }}
55+ env :
56+ BUILD_TOOLS_VERSION : ${{ env.BUILD_TOOL_VERSION }}
4857
4958 - name : Publish the APK to GitHub Releases
5059 uses : svenstaro/upload-release-action@v2
You can’t perform that action at this time.
0 commit comments