From e45b6302f4f56822b484597d02818230f0a9815b Mon Sep 17 00:00:00 2001 From: Fred Bricon Date: Tue, 19 Mar 2024 17:36:18 +0100 Subject: [PATCH] chore: update github action versions Signed-off-by: Fred Bricon --- .github/workflows/IJ-latest.yml | 6 +++--- .github/workflows/IJ.yml | 6 +++--- .github/workflows/buildZip.yml | 8 ++++---- .github/workflows/changelog.yml | 2 +- .github/workflows/ci.yml | 10 +++++----- .github/workflows/nightly.yml | 6 +++--- .github/workflows/release.yml | 4 ++-- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/.github/workflows/IJ-latest.yml b/.github/workflows/IJ-latest.yml index 62863b3e3..91ae783d2 100644 --- a/.github/workflows/IJ-latest.yml +++ b/.github/workflows/IJ-latest.yml @@ -20,7 +20,7 @@ jobs: # Set up Java environment for the next steps - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 17 @@ -28,7 +28,7 @@ jobs: # Setup Gradle - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/actions/setup-gradle@v3 with: gradle-home-cache-cleanup: true @@ -37,7 +37,7 @@ jobs: - name: Collect Tests Result - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: always() with: name: test-reports diff --git a/.github/workflows/IJ.yml b/.github/workflows/IJ.yml index 175a4c233..198c3fba6 100644 --- a/.github/workflows/IJ.yml +++ b/.github/workflows/IJ.yml @@ -26,14 +26,14 @@ jobs: # Set up Java environment for the next steps - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 17 # Setup Gradle - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/actions/setup-gradle@v3 with: gradle-home-cache-cleanup: true @@ -47,7 +47,7 @@ jobs: # Collect Plugin Verifier Result - name: Collect Plugin Verifier Result if: ${{ always() }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pluginVerifier-result path: ${{ github.workspace }}/build/reports/pluginVerifier diff --git a/.github/workflows/buildZip.yml b/.github/workflows/buildZip.yml index e07143a39..f5d3154f3 100644 --- a/.github/workflows/buildZip.yml +++ b/.github/workflows/buildZip.yml @@ -20,18 +20,18 @@ jobs: # Validate wrapper - name: Gradle Wrapper Validation - uses: gradle/wrapper-validation-action@v1.1.0 + uses: gradle/wrapper-validation-action@v2 # Set up Java environment for the next steps - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 17 # Setup Gradle - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/actions/setup-gradle@v3 with: gradle-home-cache-cleanup: true cache-read-only: false @@ -54,7 +54,7 @@ jobs: # Store already-built plugin as an artifact for downloading - name: Upload artifact - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ steps.artifact.outputs.filename }} path: ./build/distributions/content/*/* \ No newline at end of file diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index e3bd4508f..9c7425cf1 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Simple conventional changelog uses: lstocchi/simple-conventional-changelog@13071c09073f5deddf03d44d9af6a8b0f81ef227 #0.0.11 id: changelog diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f7853752c..36ca40f95 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ jobs: # Set up Java environment for the next steps - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 17 @@ -34,7 +34,7 @@ jobs: # Setup Gradle - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/actions/setup-gradle@v3 with: gradle-home-cache-cleanup: true @@ -45,7 +45,7 @@ jobs: # Collect Tests Result - name: Collect Tests Result if: ${{ success() || failure()}} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: - name: tests-result - path: ${{ github.workspace }}/build/reports/tests \ No newline at end of file + name: tests-result-${{runner.os}} + path: ${{ github.workspace }}/build/reports/tests diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 656fd8235..4fbebb440 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -32,7 +32,7 @@ jobs: uses: gradle/wrapper-validation-action@56b90f209b02bf6d1deae490e9ef18b21a389cd4 #v1.1.0 - name: Check New Changes id: cache-last-commit - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: lastCommit key: lastCommit-${{ hashFiles('lastCommit') }} @@ -53,14 +53,14 @@ jobs: # Set up Java environment for the next steps - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 17 # Setup Gradle - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/actions/setup-gradle@v3 with: gradle-home-cache-cleanup: true diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index acc938f26..fa6d16caf 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -42,14 +42,14 @@ jobs: # Set up Java environment for the next steps - name: Setup Java - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: temurin java-version: 17 # Setup Gradle - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/actions/setup-gradle@v3 with: gradle-home-cache-cleanup: true