From 927015e8f901bac669ab43151c4ffa53c593d62a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Tue, 6 Feb 2024 15:09:26 +0200 Subject: [PATCH] github: Skip caching in setup-msys2 The stored caches are quite large (around 200 MB each), and they don't speed up the setup at all (on the contrary, fetching and storing the cache actually can make things marginally slower). Using a cache can reduce the load on the upstream package repository though. By not using a cache for setup-msys2, we keep more cache space available for the actual LLVM builds, which take a couple orders of magnitude longer to run. --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0a795426..f7ba5a58 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -260,6 +260,7 @@ jobs: - uses: msys2/setup-msys2@v2 with: msystem: ${{matrix.sys}} + cache: false install: >- git make @@ -378,6 +379,7 @@ jobs: - uses: msys2/setup-msys2@v2 with: msystem: mingw64 + cache: false install: >- unzip make @@ -669,6 +671,7 @@ jobs: - uses: msys2/setup-msys2@v2 with: msystem: mingw64 + cache: false install: >- unzip make