Skip to content

Commit

Permalink
Moves java 17 to android build job (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
GrantComm authored Dec 3, 2024
1 parent 446fd4d commit fc65269
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@ jobs:
- name: Run lint script
run: ./scripts/clangformat.sh

- name: Set up Java 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'

# Build the code
build_Windows_Debug:
runs-on: windows-2022
Expand Down Expand Up @@ -138,6 +132,12 @@ jobs:
build_Android:
runs-on: ubuntu-22.04
steps:
- name: Set up Java 17
uses: actions/setup-java@v3
id: setup-java
with:
java-version: '17'
distribution: 'temurin'
- name: Check out code
uses: actions/checkout@v3
with:
Expand Down Expand Up @@ -171,4 +171,5 @@ jobs:
..
ninja
env:
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
ANDROID_NDK_HOME: ${{ steps.setup-ndk.outputs.ndk-path }}
JAVA_HOME: ${{ steps.setup-java.outputs.java-home }}

0 comments on commit fc65269

Please sign in to comment.