diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index e633a55..0ee163e 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -13,21 +13,20 @@ jobs: steps: - uses: actions/checkout@v4 - - name: set up JDK 21 + - name: set up JDK 22 uses: actions/setup-java@v3 with: - java-version: '21' + java-version: '22' distribution: 'temurin' cache: gradle - name: Grant execute permission for gradlew run: chmod +x gradlew - name: Create local.properties - run: | - echo "sdk.dir=$ANDROID_HOME" > local.properties - echo "REST_API_KEY=$REST_API_KEY" >> local.properties - env: - REST_API_KEY: ${{secrets.REST_API_KEY}} + run: echo "sdk.dir=$ANDROID_HOME" > local.properties + - name: Prepare local.properties + run: echo "REST_API_KEY=${{ secrets.REST_API_KEY }}" >> local.properties + - name: Build with Gradle - run: ./gradlew build --info + run: ./gradlew build