Skip to content

Commit

Permalink
Use setup-java
Browse files Browse the repository at this point in the history
  • Loading branch information
skottmckay committed Jun 12, 2024
1 parent e061aa1 commit 11b3509
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ env:
ORT_NIGHTLY_REST_API: "https://feeds.dev.azure.com/aiinfra/PublicPackages/_apis/packaging/Feeds/ORT-Nightly/packages?packageNameQuery=Microsoft.ML.OnnxRuntime&api-version=6.0-preview.1"
ORT_PACKAGE_NAME: "Microsoft.ML.OnnxRuntime"
ORT_NIGHTLY_SOURCE: "https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/nuget/v3/index.json"
JAVA_HOME: ${JAVA_HOME_11_arm64}
jobs:
android_x64:
runs-on: macos-latest
Expand All @@ -24,6 +23,11 @@ jobs:
with:
submodules: true

- name: Setup Java 11
uses: actions/setup-java@v2
with:
java-version: '11'

# expecting Android SDK and JDK to be pre-installed
# https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md
- name: Check pre-installed requirements
Expand Down

0 comments on commit 11b3509

Please sign in to comment.