From b24debb0f0e75f0a10f50fc5cfb9f7cc20e4d054 Mon Sep 17 00:00:00 2001 From: Franck Rasolo Date: Mon, 9 Oct 2023 00:47:49 +0100 Subject: [PATCH] upgrade GitHub actions --- .github/workflows/build.yaml | 6 +++--- .github/workflows/upload_release.yaml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 59517f6..77f4a92 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -9,19 +9,19 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.5.0 + - uses: actions/checkout@v4 with: # required by release-tag.sh to correctly identify files changed in the last commit fetch-depth: 2 # required by release-tag.sh to allow pushing with another credentials so other workflows are triggered persist-credentials: false - - uses: actions/setup-java@v3.10.0 + - uses: actions/setup-java@v3 with: distribution: temurin java-version: 17 cache: gradle - name: Cache Gradle packages - uses: actions/cache@v3.2.3 + uses: actions/cache@v3 with: path: | ~/.gradle/caches diff --git a/.github/workflows/upload_release.yaml b/.github/workflows/upload_release.yaml index db345e8..60e15bc 100644 --- a/.github/workflows/upload_release.yaml +++ b/.github/workflows/upload_release.yaml @@ -9,12 +9,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3.5.0 + uses: actions/checkout@v4 - name: Grab tag name uses: olegtarasov/get-tag@v2.1.2 id: tagName - name: Setup Java - uses: actions/setup-java@v3.10.0 + uses: actions/setup-java@v3 with: distribution: temurin java-version: 17