From 0bc0590ed98dba87d15e2b73d56ad984b69f39d4 Mon Sep 17 00:00:00 2001 From: Jonas Herzig Date: Tue, 13 Aug 2024 14:29:31 +0200 Subject: [PATCH] Build: Update GitHub Actions Should fix actions/cache spending four minutes just idling after each workflow run. GitHub: #80 --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dad0c73..6c1c9b0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,9 +12,9 @@ jobs: env: ORG_GRADLE_PROJECT_branch: ${{ github.head_ref || github.ref_name }} steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - - uses: actions/setup-java@v3 + - uses: actions/setup-java@v4 with: distribution: temurin java-version: | @@ -24,11 +24,11 @@ jobs: 21 # Can't use setup-java for this because https://github.com/actions/setup-java/issues/366 - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: ~/.gradle/wrapper key: gradle-wrapper-${{ hashFiles('**/gradle-wrapper.properties') }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.gradle/caches