Commit 68438e7 1 parent 6035881 commit 68438e7 Copy full SHA for 68438e7
File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -180,6 +180,12 @@ jobs:
180
180
cd android
181
181
version=$(cat ../../web/package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[",]//g' | tr -d '[[:space:]]')
182
182
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
183
189
- uses : r0adkll/sign-android-release@v1
184
190
name : sign apk
185
191
with :
@@ -188,6 +194,8 @@ jobs:
188
194
alias : ${{ secrets.ALIAS }}
189
195
keyStorePassword : ${{ secrets.KEY_STORE_PASSWORD }}
190
196
keyPassword : ${{ secrets.KEY_PASSWORD }}
197
+ env :
198
+ BUILD_TOOLS_VERSION : ${{ env.BUILD_TOOL_VERSION }}
191
199
- run : mv $(ls -Art android/app/build/outputs/apk/release/*.apk | tail -n 1) ../kalker-android.apk
192
200
- uses : actions/upload-artifact@v2
193
201
with :
You can’t perform that action at this time.
0 commit comments