Skip to content

Commit

Permalink
NO-JIRA: Update cache, checkout and setup-java github actions to vers…
Browse files Browse the repository at this point in the history
…ion 4 (#241)
  • Loading branch information
dakirily authored Feb 13, 2024
1 parent e56ccb4 commit e9b1726
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:
java: [ 11, 17, 21 ]

steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Install JDK ${{ matrix.java }}
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.java }}
distribution: 'temurin'
Expand Down Expand Up @@ -68,4 +68,4 @@ jobs:
path: surefire-reports-jdk-${{ matrix.java }}.tar.gz

- name: Clean Up Before Caching
run: rm -rf ~/.m2/repository/org/apache/qpid
run: rm -rf ~/.m2/repository/org/apache/qpid

0 comments on commit e9b1726

Please sign in to comment.