From 3e29a1bee0386ea02d36b8203a39491b9605b891 Mon Sep 17 00:00:00 2001 From: Andrew Oberstar Date: Fri, 21 Apr 2023 20:39:24 -0500 Subject: [PATCH] Update actions in workflows --- .github/workflows/ci.yaml | 17 +++++++---------- .github/workflows/release.yaml | 15 ++++++--------- 2 files changed, 13 insertions(+), 19 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 0f27d03..cdd6f37 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -7,23 +7,20 @@ jobs: ci: runs-on: ubuntu-latest env: - GRADLE_OPTS: -Dorg.gradle.java.installations.fromEnv=JAVA_HOME_8_x64,JAVA_HOME_11_x64,JAVA_HOME_17_x64 + GRADLE_OPTS: -Dorg.gradle.java.installations.fromEnv=JAVA_HOME_11_x64,JAVA_HOME_17_x64 steps: - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Setup Java 11 - uses: actions/setup-java@v2 + - name: Setup Java + uses: actions/setup-java@v3 with: distribution: temurin - java-version: 11 - - name: Setup Java 17 - uses: actions/setup-java@v2 - with: - distribution: temurin - java-version: 17 + java-version: | + 11 + 17 - name: Validate Gradle Wrapper uses: gradle/wrapper-validation-action@v1 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 2bd83a8..7ea073e 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -7,19 +7,16 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Setup Java 11 - uses: actions/setup-java@v2 + - name: Setup Java + uses: actions/setup-java@v3 with: distribution: zulu - java-version: 11 - - name: Setup Java 17 - uses: actions/setup-java@v2 - with: - distribution: zulu - java-version: 17 + java-version: | + 11 + 17 - name: Setup Gradle uses: gradle/gradle-build-action@v2