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";