diff --git a/.gitea/workflows/azure-pipelines.yml b/.gitea/workflows/azure-pipelines.yml index 296c918..3d5d377 100644 --- a/.gitea/workflows/azure-pipelines.yml +++ b/.gitea/workflows/azure-pipelines.yml @@ -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 diff --git a/App.js b/App.js index 40c851e..e9c8229 100644 --- a/App.js +++ b/App.js @@ -3,4 +3,5 @@ console.log("trest") console.log("test2") console.log("test3") console.log("test4") -console.log("test5") \ No newline at end of file +console.log("test5") +console.log("test6") \ No newline at end of file