Skip to content

Commit

Permalink
Merge pull request #104 from paypal/dev
Browse files Browse the repository at this point in the history
Manually install openjdk-11-jdk in github action workflow
  • Loading branch information
NeetishPathak committed May 12, 2023
2 parents e6ab2d4 + 313381a commit f1899e4
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/client_ft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,15 @@ jobs:
echo "********************==========*****************************"
ps -eaf | grep juno
- uses: actions/checkout@v3.5.2
- name: Set up JDK 11
uses: actions/setup-java@v3.11.0
with:
java-version: "11"
distribution: "zulu"
- name: Install Java 11
run: |
java -version || true
sudo apt-get update
sudo apt-get install openjdk-11-jdk
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/
export PATH=$PATH:$JAVA_HOME/bin
echo "export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64/" >> ~/.bashrc
echo "export PATH=$PATH:$JAVA_HOME/bin" >> ~/.bashrc
- name: Build with Maven
run: |
client/Java/Juno/juno-client-impl/src/test/resources/secrets/gensecrets.sh
Expand Down

0 comments on commit f1899e4

Please sign in to comment.