Skip to content

Commit

Permalink
Build: Update GitHub Actions
Browse files Browse the repository at this point in the history
Should fix actions/cache spending four minutes just idling after each
workflow run.

GitHub: #80
  • Loading branch information
Johni0702 authored Aug 13, 2024
1 parent 7abd7ed commit 0bc0590
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit 0bc0590

Please sign in to comment.