From b082efe5453a8fdc62357afd58a6d5b13feaa79a Mon Sep 17 00:00:00 2001 From: Meron Brouwer Date: Tue, 26 Nov 2024 14:03:27 +0100 Subject: [PATCH] [infrastructure] Updated the github java install and cache actions to the latest version --- .github/workflows/documentation.yml | 4 ++-- .github/workflows/maven.yml | 4 ++-- .github/workflows/release.yml | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index f8234a540..5c3699dc2 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -17,13 +17,13 @@ jobs: uses: actions/checkout@v4.2.2 - name: Set up JDK 21 - uses: actions/setup-java@v3.9.0 + uses: actions/setup-java@v4.5.0 with: distribution: 'zulu' java-version: 21 - name: Cache Maven packages - uses: actions/cache@v3.0.11 + uses: actions/cache@v4.1.2 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index c1d2a30da..0f6bd02d7 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -17,13 +17,13 @@ jobs: - uses: actions/checkout@v4.2.2 - name: Set up JDK 21 - uses: actions/setup-java@v3.9.0 + uses: actions/setup-java@v4.5.0 with: distribution: 'zulu' java-version: 21 - name: Cache Maven packages - uses: actions/cache@v3.0.11 + uses: actions/cache@v4.1.2 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19331f1db..1365cd45a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4.2.2 - name: Set up JDK 21 - uses: actions/setup-java@v3.9.0 + uses: actions/setup-java@v4.5.0 with: distribution: 'zulu' java-version: 21 @@ -29,7 +29,7 @@ jobs: server-password: MAVEN_CENTRAL_PASSWORD - name: Cache Maven packages - uses: actions/cache@v3.0.11 + uses: actions/cache@v4.1.2 with: path: ~/.m2 key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} @@ -44,7 +44,7 @@ jobs: run: xvfb-run mvn package -P release -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} - name: Set up Apache Maven Central - uses: actions/setup-java@v3.9.0 + uses: actions/setup-java@v4.5.0 with: distribution: 'zulu' java-version: 21