We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c173c2 commit 7235149Copy full SHA for 7235149
1 file changed
.github/workflows/android.yml
@@ -60,6 +60,13 @@ jobs:
60
ref: ${{ inputs.ref || github.ref }}
61
fetch-depth: 0
62
63
+ - name: Setup build tool version variable
64
+ shell: bash
65
+ run: |
66
+ BUILD_TOOL_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1)
67
+ echo "BUILD_TOOL_VERSION=$BUILD_TOOL_VERSION" >> $GITHUB_ENV
68
+ echo Last build tool version is: $BUILD_TOOL_VERSION
69
+
70
- name: Download APK from build
71
uses: actions/download-artifact@v3
72
with:
@@ -81,7 +88,7 @@ jobs:
81
88
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
82
89
keyPassword: ${{ secrets.KEY_PASSWORD }}
83
90
env:
84
- BUILD_TOOLS_VERSION: "32.0.0"
91
+ BUILD_TOOLS_VERSION: ${{ env.BUILD_TOOL_VERSION }}
85
92
86
93
- name: 'Get Previous tag'
87
94
id: previoustag
0 commit comments