@@ -42,12 +42,23 @@ jobs:
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
SONAR_HOST_URL: ${{ secrets.SONAR_URL }}
|
||||
|
||||
# ---------------- ANDROID ----------------
|
||||
# - name: Setup Android SDK
|
||||
# uses: android-actions/setup-android@v3
|
||||
# ---------------- ANDROID SDK (required on Ubuntu: ANDROID_HOME / sdk.dir) ----------------
|
||||
- name: Setup Android SDK
|
||||
uses: android-actions/setup-android@v4
|
||||
with:
|
||||
packages: >-
|
||||
tools platform-tools
|
||||
platforms;android-36
|
||||
build-tools;36.0.0
|
||||
ndk;27.1.12297006
|
||||
|
||||
# - name: Grant permission
|
||||
# run: chmod +x android/gradlew
|
||||
- name: Point Gradle to the SDK
|
||||
run: |
|
||||
printf 'sdk.dir=%s\n' "${ANDROID_SDK_ROOT}" > android/local.properties
|
||||
cat android/local.properties
|
||||
|
||||
- name: Grant Gradle execute permission
|
||||
run: chmod +x android/gradlew
|
||||
|
||||
# ---------------- BUILD APK ----------------
|
||||
- name: Build Release APK
|
||||
|
||||
Reference in New Issue
Block a user