From 93442a0569b08cf5e58e6ffb9ec7030dbb940832 Mon Sep 17 00:00:00 2001 From: Mark Raynsford Date: Sun, 21 Apr 2024 11:43:13 +0000 Subject: [PATCH] Update workflows. --- .github/workflows/main.linux.temurin.current.yml | 3 ++- .github/workflows/main.linux.temurin.lts.yml | 3 ++- .github/workflows/main.windows.temurin.current.yml | 3 ++- .github/workflows/main.windows.temurin.lts.yml | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.linux.temurin.current.yml b/.github/workflows/main.linux.temurin.current.yml index e1e0c11..aed7b1f 100644 --- a/.github/workflows/main.linux.temurin.current.yml +++ b/.github/workflows/main.linux.temurin.current.yml @@ -12,9 +12,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 22 + distribution: 'temurin' - name: Build run: ./.github/workflows/run-with-xvfb.sh mvn --errors clean verify site - name: Upload video diff --git a/.github/workflows/main.linux.temurin.lts.yml b/.github/workflows/main.linux.temurin.lts.yml index bb328e8..c3a6ccf 100644 --- a/.github/workflows/main.linux.temurin.lts.yml +++ b/.github/workflows/main.linux.temurin.lts.yml @@ -12,9 +12,10 @@ jobs: steps: - uses: actions/checkout@v2 - name: JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 21 + distribution: 'temurin' - name: Build run: ./.github/workflows/run-with-xvfb.sh mvn --errors clean verify site - name: Upload video diff --git a/.github/workflows/main.windows.temurin.current.yml b/.github/workflows/main.windows.temurin.current.yml index 722d1f0..1126d16 100644 --- a/.github/workflows/main.windows.temurin.current.yml +++ b/.github/workflows/main.windows.temurin.current.yml @@ -12,8 +12,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 22 + distribution: 'temurin' - name: Build run: mvn -DskipTests=true --errors clean verify site diff --git a/.github/workflows/main.windows.temurin.lts.yml b/.github/workflows/main.windows.temurin.lts.yml index 349f703..547d44a 100644 --- a/.github/workflows/main.windows.temurin.lts.yml +++ b/.github/workflows/main.windows.temurin.lts.yml @@ -12,8 +12,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: JDK - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: java-version: 21 + distribution: 'temurin' - name: Build run: mvn -DskipTests=true --errors clean verify site