Skip to content

Commit

Permalink
chore: use actions/cache@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
MikAoJk committed Nov 28, 2024
1 parent c8ab318 commit 9483cf1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
java-version: '21'
- name: Checkout code
uses: actions/checkout@master
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-cache-${{ hashFiles('build.gradle.kts') }}
restore-keys: |
${{ runner.os }}-gradle-cache-
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/.gradle/wrapper
key: ${{ runner.os }}-gradle-wrapper-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
Expand All @@ -32,4 +32,4 @@ jobs:
./gradlew test
- name: Run clean build
run: |
./gradlew clean build
./gradlew clean build

0 comments on commit 9483cf1

Please sign in to comment.