File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,12 @@ jobs:
180180 cd android
181181 version=$(cat ../../web/package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | tr -d '[[:space:]]')
182182 APP_VERSION_NAME=$version ./gradlew assembleRelease
183+ - name : Setup build tool version variable
184+ shell : bash
185+ run : |
186+ BUILD_TOOL_VERSION=$(ls /usr/local/lib/android/sdk/build-tools/ | tail -n 1)
187+ echo "BUILD_TOOL_VERSION=$BUILD_TOOL_VERSION" >> $GITHUB_ENV
188+ echo Last build tool version is: $BUILD_TOOL_VERSION
183189 - uses : r0adkll/sign-android-release@v1
184190 name : sign apk
185191 with :
@@ -188,6 +194,8 @@ jobs:
188194 alias : ${{ secrets.ALIAS }}
189195 keyStorePassword : ${{ secrets.KEY_STORE_PASSWORD }}
190196 keyPassword : ${{ secrets.KEY_PASSWORD }}
197+ env :
198+ BUILD_TOOLS_VERSION : ${{ env.BUILD_TOOL_VERSION }}
191199 - run : mv $(ls -Art android/app/build/outputs/apk/release/*.apk | tail -n 1) ../kalker-android.apk
192200 - uses : actions/upload-artifact@v2
193201 with :
You can’t perform that action at this time.
0 commit comments