Skip to content

Commit 56ef546

Browse files
committed
update pipeline filters
1 parent 8759d99 commit 56ef546

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pipeline.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
uses: actions/cache@v3
6060
with:
6161
path: build
62-
key: build-${{ hashFiles('**/*.go', '**/go.mod') }}
62+
key: build-${{ hashFiles('**/*', '!build', '!.git') }}
6363
restore-keys: |
6464
build-
6565
@@ -75,7 +75,7 @@ jobs:
7575
uses: actions/cache@v3
7676
with:
7777
path: build
78-
key: build-${{ hashFiles('**/*.go', '**/go.mod') }}
78+
key: build-${{ hashFiles('**/*', '!build', '!.git') }}
7979

8080
- name: Release
8181
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)