From 2ddd9d7db04042bfc6c1a807b4a92baca794a30e Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Wed, 4 Aug 2021 15:40:07 +1000 Subject: [PATCH] try explicit cache directory Signed-off-by: Adrian Cole --- .github/workflows/commit.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/commit.yaml b/.github/workflows/commit.yaml index 019e11dd..9ee79a0b 100644 --- a/.github/workflows/commit.yaml +++ b/.github/workflows/commit.yaml @@ -52,10 +52,9 @@ jobs: steps: - name: "Cache packages (Windows)" if: runner.os == 'Windows' - id: cache-cygwin uses: actions/cache@v2 with: # We cache chocolatey's cacheLocation to avoid huge downloads - path: ~/chocolatey + path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey key: test-${{ runner.os }}-cygwin-1 restore-keys: test-${{ runner.os }}-cygwin- @@ -65,8 +64,7 @@ jobs: # # We don't need to install anything here (ex wixtoolset): # https://github.com/actions/virtual-environments/blob/main/images/win/Windows2019-Readme.md - run: | # update cache key if you change any packages installed here - choco config set cacheLocation %USERPROFILE%\chocolatey + run: | # update package cache key if you change any packages installed here choco install -y --no-progress --source cygwin make bash shell: cmd