From b7ecb00fd0c6c6ef65a640679e0c8af750d808e8 Mon Sep 17 00:00:00 2001 From: Andrew Oberstar Date: Sat, 30 Dec 2023 21:53:10 -0600 Subject: [PATCH] Update workflows to latest actions --- .github/workflows/ci.yaml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e170aff..affff0c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -10,29 +10,21 @@ jobs: ci: runs-on: ubuntu-latest timeout-minutes: 10 - env: - GRADLE_OPTS: -Dorg.gradle.java.installations.fromEnv=JAVA_HOME_8_x64,JAVA_HOME_11_x64,JAVA_HOME_17_x64 steps: - name: Checkout repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Setup Java 8 + - name: Setup Java uses: actions/setup-java@v3 with: distribution: temurin - java-version: 8 - - name: Setup Java 11 - uses: actions/setup-java@v3 - with: - distribution: temurin - java-version: 11 - - name: Setup Java 17 - uses: actions/setup-java@v3 - with: - distribution: temurin - java-version: 17 + java-version: | + 8 + 11 + 21 + 17 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1