Skip to content

Commit

Permalink
try explicit cache directory
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
Adrian Cole committed Aug 4, 2021
1 parent 3af20af commit 2ddd9d7
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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-

Expand All @@ -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

Expand Down

0 comments on commit 2ddd9d7

Please sign in to comment.