@@ -42,12 +42,23 @@ jobs:
|
|||||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||||
SONAR_HOST_URL: ${{ secrets.SONAR_URL }}
|
SONAR_HOST_URL: ${{ secrets.SONAR_URL }}
|
||||||
|
|
||||||
# ---------------- ANDROID ----------------
|
# ---------------- ANDROID SDK (required on Ubuntu: ANDROID_HOME / sdk.dir) ----------------
|
||||||
# - name: Setup Android SDK
|
- name: Setup Android SDK
|
||||||
# uses: android-actions/setup-android@v3
|
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
|
- name: Point Gradle to the SDK
|
||||||
# run: chmod +x android/gradlew
|
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 ----------------
|
# ---------------- BUILD APK ----------------
|
||||||
- name: Build Release APK
|
- name: Build Release APK
|
||||||
|
|||||||
Reference in New Issue
Block a user