From 19bb1f57702fdc7d1545e7eb78891ac921fae65f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20=C5=A0irok=C3=BD?= Date: Mon, 13 Mar 2023 22:36:45 +0100 Subject: [PATCH] Bump GitHub actions version * currently used versions are deprecated and GitHub is printing warnings on the actions page, e.g. "Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/upload-artifact@v2." --- .github/workflows/early-access.yaml | 12 ++++++------ .github/workflows/release.yaml | 16 ++++++++-------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/early-access.yaml b/.github/workflows/early-access.yaml index 1a115b691..2553d0991 100644 --- a/.github/workflows/early-access.yaml +++ b/.github/workflows/early-access.yaml @@ -34,14 +34,14 @@ jobs: runs-on: ubuntu-22.04 steps: - name: 'Checkout' - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: 'Run default (non-native) build' run: ./mvnw verify -Dmrm=false -B -ntp -e - name: 'Upload daemon test logs' if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: daemon-test-logs-default-build path: integration-tests/target/mvnd-tests/**/daemon*.log @@ -57,7 +57,7 @@ jobs: steps: - name: 'Checkout' - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: 'Set vars' shell: bash @@ -97,19 +97,19 @@ jobs: - name: 'Upload daemon test logs' if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: daemon-test-logs-${{ env.OS }} path: integration-tests/target/mvnd-tests/**/daemon*.log - name: 'Upload m39 artifact' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: mvnd-m39-${{ env.OS }} path: dist-m39/target/maven-*-mvnd-*.zip - name: 'Upload m40 artifact' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: mvnd-m40-${{ env.OS }} path: dist-m40/target/maven-*-mvnd-*.zip diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index f90414529..213e9f610 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -40,7 +40,7 @@ jobs: steps: - name: 'Check out repository' - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: 'Set vars' shell: bash @@ -79,7 +79,7 @@ jobs: run: ./mvnw verify -Pnative -Dmrm=false -B -ntp -e -DskipTests -s .mvn/release-settings.xml - name: 'Upload artifact' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: artifacts path: | @@ -91,7 +91,7 @@ jobs: runs-on: ubuntu-18.04 steps: - name: 'Check out repository' - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: 'Set vars' shell: bash @@ -113,7 +113,7 @@ jobs: run: ./mvnw clean verify -Psource-distribution -N -B -ntp -e - name: 'Upload artifact' - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: artifacts path: | @@ -126,21 +126,21 @@ jobs: steps: - name: 'Check out repository' - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: fetch-depth: 0 - name: 'Download all build artifacts' - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 - name: 'Set up Java' - uses: actions/setup-java@v2 + uses: actions/setup-java@v3 with: java-version: ${{ env.JAVA_VERSION }} distribution: 'zulu' - name: 'Cache Maven packages' - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}