Update android.yml

This commit is contained in:
Emux
2021-10-07 20:17:29 +03:00
committed by GitHub
parent 634a2e5c0d
commit bb03b40075

View File

@@ -19,6 +19,12 @@ jobs:
java-version: '11'
distribution: 'adopt'
- name: Android Build Tools
env:
ANDROID_BUILD_TOOLS: 31.0.0
run: |
ln -s ${ANDROID_HOME}/build-tools/$ANDROID_BUILD_TOOLS/d8 ${ANDROID_HOME}/build-tools/$ANDROID_BUILD_TOOLS/dx
ln -s ${ANDROID_HOME}/build-tools/$ANDROID_BUILD_TOOLS/lib/d8.jar ${ANDROID_HOME}/build-tools/$ANDROID_BUILD_TOOLS/lib/dx.jar
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle