Skip to content

Commit

Permalink
don't try to cache cygwin dir
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 44735a0 commit 3af20af
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/commit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ jobs:
if: runner.os == 'Windows'
id: cache-cygwin
uses: actions/cache@v2
with:
path: | # We cache chocolatey's cacheLocation to avoid huge downloads
~/chocolatey
C:/tools/cygwin
with: # We cache chocolatey's cacheLocation to avoid huge downloads
path: ~/chocolatey
key: test-${{ runner.os }}-cygwin-1
restore-keys: test-${{ runner.os }}-cygwin-

- name: "Install packages (Windows)"
if: runner.os == 'Windows' && steps.cache-cygwin.outputs.cache-hit != 'true'
if: runner.os == 'Windows'
# This installs cygwin's bash which resolves paths correctly for .bingo/Variables.mk
#
# 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
Expand Down

0 comments on commit 3af20af

Please sign in to comment.