Skip to content

Commit 88c6269

Browse files
authored
Remove Maven repo caching from release workflow
Removed caching of Maven repository from all jobs in the workflow.
1 parent c384faf commit 88c6269

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ jobs:
1515
VERSION: ${{ steps.setver.outputs.VERSION }}
1616

1717
steps:
18-
- name: Cache Maven repo
19-
uses: actions/cache@v4
20-
with:
21-
path: ~/.m2/repository
22-
key: ${{ runner.os }}-m2-${{ hashFiles('spring-cache-tags/pom.xml', 'spring-cache-tags/*/pom.xml') }}
23-
restore-keys: |
24-
${{ runner.os }}-m2-
25-
2618
- name: Determine version
2719
id: setver
2820
run: |
@@ -40,14 +32,6 @@ jobs:
4032
needs: version
4133

4234
steps:
43-
- name: Cache Maven repo
44-
uses: actions/cache@v4
45-
with:
46-
path: ~/.m2/repository
47-
key: ${{ runner.os }}-m2-${{ hashFiles('spring-cache-tags/pom.xml', 'spring-cache-tags/*/pom.xml') }}
48-
restore-keys: |
49-
${{ runner.os }}-m2-
50-
5135
- name: Checkout code
5236
uses: actions/checkout@v4
5337

@@ -70,14 +54,6 @@ jobs:
7054
needs: version
7155

7256
steps:
73-
- name: Cache Maven repo
74-
uses: actions/cache@v4
75-
with:
76-
path: ~/.m2/repository
77-
key: ${{ runner.os }}-m2-${{ hashFiles('spring-cache-tags/pom.xml', 'spring-cache-tags/*/pom.xml') }}
78-
restore-keys: |
79-
${{ runner.os }}-m2-
80-
8157
- name: Checkout
8258
uses: actions/checkout@v4
8359

@@ -101,14 +77,6 @@ jobs:
10177
if: github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v')
10278

10379
steps:
104-
- name: Cache Maven repo
105-
uses: actions/cache@v4
106-
with:
107-
path: ~/.m2/repository
108-
key: ${{ runner.os }}-m2-${{ hashFiles('spring-cache-tags/pom.xml', 'spring-cache-tags/*/pom.xml') }}
109-
restore-keys: |
110-
${{ runner.os }}-m2-
111-
11280
- name: Checkout
11381
uses: actions/checkout@v4
11482
with:

0 commit comments

Comments
 (0)