Skip to content

Commit

Permalink
chore: Upgrade actions/checkout and actions/cache to v2 and v4 respec…
Browse files Browse the repository at this point in the history
…tively in CI workflows
  • Loading branch information
bpauli committed Feb 20, 2025
1 parent 3ae34a1 commit bc9e12b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/maven-deploy-cm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
commit: ${{ steps.getCommit.outputs.commit }}
steps:
# Checkout this project into a sub folder
- uses: actions/checkout@v4
- uses: actions/checkout@v2
with:
path: archetype
# Set up JDK 11
Expand All @@ -49,7 +49,7 @@ jobs:
java-version: '11'
# Set up dependency cache
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('archetype/**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

# Set up dependency cache
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/maven-sdk-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
java-version: ${{ matrix.java }}
# Set up dependency cache
- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('archetype/**/pom.xml') }}
Expand Down

0 comments on commit bc9e12b

Please sign in to comment.