diff --git a/.github/workflows/android_ci.yml b/.github/workflows/android_ci.yml index 7ee3b9e..a76ab80 100644 --- a/.github/workflows/android_ci.yml +++ b/.github/workflows/android_ci.yml @@ -21,13 +21,16 @@ jobs: with: fetch-depth: 0 - - name: set up JDK 21 + - name: Set up JDK 21 uses: actions/setup-java@v5.2.0 with: java-version: '21' distribution: 'temurin' cache: gradle + - name: Export ANDROID_HOME to env + run: echo "ANDROID_HOME=$ANDROID_HOME" >> "$GITHUB_ENV" + - name: Cache NDK id: cache-ndk uses: actions/cache@v5.0.3 @@ -65,4 +68,4 @@ jobs: uses: actions/upload-artifact@v6.0.0 with: name: Release - path: ${{ github.workspace }}/app/build/outputs/apk/release \ No newline at end of file + path: ${{ github.workspace }}/app/build/outputs/apk/release