aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2024-11-19 11:28:17 +0100
committerRon Evans <[email protected]>2024-12-04 06:58:04 +0100
commitd3810ecd482ec8dc070e4aebb98d68f9b13fc3f7 (patch)
tree454c7bc46391ab5345f4292ddb6f7f6efc0e62ad
parent3b8062170c51524fc450cbf53f8f4eb817347f17 (diff)
downloadtinygo-d3810ecd482ec8dc070e4aebb98d68f9b13fc3f7.tar.gz
tinygo-d3810ecd482ec8dc070e4aebb98d68f9b13fc3f7.zip
ci: cache the Go cache across builds
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]