Skip to content

Commit 4a4cdba

Browse files
committed
Don't glob the generated swagger pom.xml
1 parent a80be65 commit 4a4cdba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pr-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/cache/restore@v4
2424
with:
2525
path: ~/.m2/build-cache
26-
key: build-cache-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
26+
key: build-cache-${{ runner.os }}-${{ hashFiles('**/pom.xml', '!**/target/**') }}
2727
restore-keys: |
2828
build-cache-${{ runner.os }}-
2929
@@ -35,4 +35,4 @@ jobs:
3535
uses: actions/cache/save@v4
3636
with:
3737
path: ~/.m2/build-cache
38-
key: build-cache-${{ runner.os }}-${{ hashFiles('**/pom.xml') }}
38+
key: build-cache-${{ runner.os }}-${{ hashFiles('**/pom.xml', '!**/target/**') }}

0 commit comments

Comments
 (0)