From 4089f78ceab5853456cec08e028a88d95cbedcd7 Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Sat, 17 Feb 2024 16:20:07 +0100 Subject: [PATCH] Upgrade GHA dependencies (#1635) This fixes the following deprecation warning: > Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20 Signed-off-by: Wouter Born --- .github/workflows/ci-build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index cac7f55ebd..322c1db0d8 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -19,23 +19,23 @@ jobs: fail-fast: false matrix: java: [ '17' ] - maven: [ '3.9.4' ] + maven: [ '3.9.6' ] os: [ 'ubuntu-22.04' ] name: Build (Java ${{ matrix.java }}, ${{ matrix.os }}) runs-on: ${{ matrix.os }} steps: - name: Checkout if: github.head_ref == '' - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Checkout merge if: github.head_ref != '' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: refs/pull/${{github.event.pull_request.number}}/merge - name: Set up Cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.m2/repository @@ -45,13 +45,13 @@ jobs: ${{ runner.os }}-maven- - name: Set up Java ${{ matrix.java }} - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: distribution: 'temurin' java-version: ${{ matrix.java }} - name: Set up Maven ${{ matrix.maven }} - uses: stCarolas/setup-maven@v4.5 + uses: stCarolas/setup-maven@v5 with: maven-version: ${{ matrix.maven }} @@ -67,7 +67,7 @@ jobs: - name: Upload Build Log if: ${{ always() && ((steps.build.outcome == 'success') || (steps.build.outcome == 'failure')) }} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: build-log-java-${{ matrix.java }}-${{ matrix.os }} path: build.log