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: #89
  • Loading branch information
Johni0702 committed Aug 13, 2024
1 parent 2e881ee commit 3343c96
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 @@ -23,11 +23,11 @@ jobs:
17
# 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 3343c96

Please sign in to comment.