File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 27
27
with :
28
28
name : App bundle
29
29
path : app-debug.apk
30
+ # https://github.com/r0adkll/sign-android-release/issues/84#issuecomment-1889636075
31
+ - name : Setup build tool version variable
32
+ shell : bash
33
+ run : |
34
+ BUILD_TOOL_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1)
35
+ echo "BUILD_TOOL_VERSION=$BUILD_TOOL_VERSION" >> $GITHUB_ENV
36
+ echo Last build tool version is: $BUILD_TOOL_VERSION
30
37
- uses : r0adkll/sign-android-release@v1
31
38
if : github.event_name != 'pull_request'
32
39
name : Sign app APK
36
43
signingKeyBase64 : ${{ secrets.SIGNING_KEY }}
37
44
alias : ${{ secrets.ALIAS }}
38
45
keyStorePassword : ${{ secrets.KEY_STORE_PASSWORD }}
46
+ env :
47
+ BUILD_TOOLS_VERSION : ${{ env.BUILD_TOOL_VERSION }}
39
48
- uses : actions/upload-artifact@v4
40
49
if : github.event_name != 'pull_request'
41
50
name : Upload signed app APK
You can’t perform that action at this time.
0 commit comments