aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2024-11-19 11:28:17 +0100
committerAyke van Laethem <[email protected]>2024-11-19 11:58:38 +0100
commit7a0ac68822e2c3e9e5a84e7dd39269298905dcf4 (patch)
tree9ec8edc2b95299cfeee8ce0a3110e3f3b48331f4
parent2d26b6cc8dd9b9bb81274e29335790f9b2682e7c (diff)
downloadtinygo-ci-windows-cache-go.tar.gz
tinygo-ci-windows-cache-go.zip
ci: cache the Go cache across buildsci-windows-cache-go
This should hopefully make the build slightly faster.
-rw-r--r--.github/workflows/windows.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 0994d47a7..e81c2b4d4 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -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 [email protected]