From 2f39949a2e5e39fbf0e7d84241b2679e7e2d0f33 Mon Sep 17 00:00:00 2001 From: Henry-Hiles Date: Thu, 26 Mar 2026 17:37:42 -0400 Subject: [PATCH] use a relative dir for caching on windows --- .github/workflows/windows.yml | 2 -- hook/build.dart | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 1060385..e66e45a 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -23,8 +23,6 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 - with: - cache: false - name: Build with Flutter run: | diff --git a/hook/build.dart b/hook/build.dart index f744652..f898b1e 100644 --- a/hook/build.dart +++ b/hook/build.dart @@ -18,6 +18,7 @@ Future main(List args) => build(args, (input, output) async { break; case OS.windows: libFileName = "libgomuks.dll"; + env = {"GOCACHE": "build/cache"}; break; case OS.android: libFileName = "libgomuks.so";