Skip to content

Commit

Permalink
fix setup-java
Browse files Browse the repository at this point in the history
  • Loading branch information
louwers committed Jan 10, 2025
1 parent fca3163 commit 643de09
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/android-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,11 @@ jobs:
submodules: recursive
fetch-depth: 0

- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"

- name: Add aarch64-linux-android for Rust toolchian
if: ${{ github.ref == 'refs/heads/rust' || github.event.pull_request.base.ref == 'rust' }}
run: rustup target add --toolchain stable-x86_64-unknown-linux-gnu aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
Expand Down Expand Up @@ -314,11 +319,6 @@ jobs:
cmakeVersion: 3.24.1
ninjaVersion: latest

- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "17"

- name: Add aarch64-linux-android for Rust toolchian
if: ${{ github.ref == 'refs/heads/rust' || github.event.pull_request.base.ref == 'rust' }}
run: rustup target add --toolchain stable-x86_64-unknown-linux-gnu aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android
Expand Down

0 comments on commit 643de09

Please sign in to comment.