ci: cache the Go cache across builds

This should hopefully make the build slightly faster.
This commit is contained in:
Ayke van Laethem
2024-11-19 11:28:17 +01:00
committed by Ron Evans
parent 3b8062170c
commit d3810ecd48
+7
View File
@@ -100,6 +100,13 @@ jobs:
- name: Build wasi-libc
if: steps.cache-wasi-libc.outputs.cache-hit != 'true'
run: make wasi-libc
- name: Cache Go cache
uses: actions/cache@v4
with:
key: go-cache-windows-v1-${{ hashFiles('go.mod') }}
path: |
C:/Users/runneradmin/AppData/Local/go-build
C:/Users/runneradmin/go/pkg/mod
- name: Install wasmtime
run: |
scoop install wasmtime@14.0.4