Skip to content

Commit

Permalink
swtich to actions/setup-java@v2
Browse files Browse the repository at this point in the history
and also to use "adopt" distribution
  • Loading branch information
thjaeckle committed Jul 21, 2021
1 parent b9ff487 commit 1bc544f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/maven.yml
Expand Up @@ -31,8 +31,9 @@ jobs:
echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts
- name: Set up JDK 11
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: 11

- name: Cache local Maven repository
Expand Down

0 comments on commit 1bc544f

Please sign in to comment.