Skip to content

Commit

Permalink
troubleshoot test
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidAZimmerly committed Jan 6, 2025
1 parent cd2aaa2 commit 3a1daa1
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pull_request_merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@ jobs:
# Set up JDK 17
- name: Install Oracle JDK 17
run: |
curl -L -b "oraclelicense=accept-securebackup-cookie" -o jdk.tar.gz \
"https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz"
sudo mkdir -p /usr/lib/jvm
sudo tar -xzf jdk.tar.gz -C /usr/lib/jvm
curl -L -o jdk.tar.gz "https://download.oracle.com/java/17/latest/jdk-17_linux-x64_bin.tar.gz"
mkdir -p jdk
tar -xzf jdk.tar.gz -C jdk --strip-components=1
sudo mv jdk /usr/lib/jvm/jdk-17
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk-17/bin/java 1
sudo update-alternatives --set java /usr/lib/jvm/jdk-17/bin/java
java -version
# Install dependencies (optional: you can skip if it's handled elsewhere)
- name: Set up Gradle cache
uses: actions/[email protected]
Expand Down

0 comments on commit 3a1daa1

Please sign in to comment.