Skip to content

Commit ece02fe

Browse files
committed
fix cache error of github ci
1 parent 42a5f7c commit ece02fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ jobs:
4343
uses: actions/setup-go@v4
4444
with:
4545
go-version: ${{ env.GO_VERSION }}
46+
cache-dependency-path: **/go.sum
4647

4748
- name: Build dylib
4849
run: |
@@ -68,6 +69,7 @@ jobs:
6869
uses: actions/setup-go@v4
6970
with:
7071
go-version: ${{ env.GO_VERSION }}
72+
cache-dependency-path: **/go.sum
7173

7274
- name: Setup Flutter
7375
uses: subosito/flutter-action@v2
@@ -146,6 +148,7 @@ jobs:
146148
uses: actions/setup-go@v4
147149
with:
148150
go-version: ${{ env.GO_VERSION }}
151+
cache-dependency-path: **/go.sum
149152

150153
- name: Setup Flutter
151154
uses: subosito/flutter-action@v2
@@ -185,6 +188,7 @@ jobs:
185188
uses: actions/setup-go@v4
186189
with:
187190
go-version: ${{ env.GO_VERSION }}
191+
cache-dependency-path: **/go.sum
188192

189193
- name: Setup Java
190194
uses: actions/setup-java@v4

0 commit comments

Comments
 (0)