From 1bc544fa54e19506205e9e6e9a380b960e00fa9b Mon Sep 17 00:00:00 2001 From: Thomas Jaeckle Date: Wed, 21 Jul 2021 14:56:05 +0200 Subject: [PATCH] swtich to actions/setup-java@v2 and also to use "adopt" distribution --- .github/workflows/maven.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 1529662139..f0356e5aa5 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -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