Skip to content

Commit d3810ec

Browse files
aykevldeadprogram
authored andcommitted
ci: cache the Go cache across builds
This should hopefully make the build slightly faster.
1 parent 3b80621 commit d3810ec

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/windows.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ jobs:
100100
- name: Build wasi-libc
101101
if: steps.cache-wasi-libc.outputs.cache-hit != 'true'
102102
run: make wasi-libc
103+
- name: Cache Go cache
104+
uses: actions/cache@v4
105+
with:
106+
key: go-cache-windows-v1-${{ hashFiles('go.mod') }}
107+
path: |
108+
C:/Users/runneradmin/AppData/Local/go-build
109+
C:/Users/runneradmin/go/pkg/mod
103110
- name: Install wasmtime
104111
run: |
105112
scoop install wasmtime@14.0.4

0 commit comments

Comments
 (0)