File tree 1 file changed +11
-2
lines changed
1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -36,15 +36,24 @@ jobs:
36
36
name : unsigned-app.apk
37
37
path : .
38
38
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
41
48
id : sign_app
42
49
with :
43
50
releaseDirectory : .
44
51
signingKeyBase64 : ${{ secrets.ANDROID_SIGNING_KEY }}
45
52
alias : ${{ secrets.SIGNING_KEY_ALIAS }}
46
53
keyStorePassword : ${{ secrets.SIGNING_KEY_STORE_PASSWORD }}
47
54
keyPassword : ${{ secrets.SIGNING_KEY_PASSWORD }}
55
+ env :
56
+ BUILD_TOOLS_VERSION : ${{ env.BUILD_TOOL_VERSION }}
48
57
49
58
- name : Publish the APK to GitHub Releases
50
59
uses : svenstaro/upload-release-action@v2
You can’t perform that action at this time.
0 commit comments