Skip to content

Commit

Permalink
[ci][fix] installl java via actions/java (#2730)
Browse files Browse the repository at this point in the history
  • Loading branch information
siddvenk authored Feb 7, 2025
1 parent 3e41673 commit b71f0f2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,11 @@ jobs:
sudo rm -rf /home/ubuntu/actions-runner/_work/_tool/Java_Corretto_jdk/
echo "wait dpkg lock..."
while sudo fuser /var/{lib/{dpkg,apt/lists},cache/apt/archives}/lock >/dev/null 2>&1; do sleep 5; done
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'corretto'
java-version: 17
- name: Set up Python3
uses: actions/setup-python@v5
with:
Expand All @@ -238,7 +243,6 @@ jobs:
wget https://publish.djl.ai/awscurl/awscurl
chmod +x awscurl
mkdir outputs
neuron-ls >/dev/null 2>&1 && ! command -v java >/dev/null 2>&1 && sudo apt-get install -y openjdk-17-jdk
- name: Configure AWS Credentials
if: matrix.test.instance == 'ubuntu-latest'
uses: aws-actions/configure-aws-credentials@v4
Expand Down

0 comments on commit b71f0f2

Please sign in to comment.