Skip to content

Commit

Permalink
Merge pull request #195 from datalad/up-cache
Browse files Browse the repository at this point in the history
Update actions/cache to v4
  • Loading branch information
jwodder authored Jan 22, 2024
2 parents 4739cc1 + cf11602 commit dcec14c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ jobs:
run: stack setup

- name: Enable Stack cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.stack
key: cache-stack-macos-${{ hashFiles('stack.yaml.lock') }}-${{ hashFiles('git-annex.cabal') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
# At this point, stack.yaml.lock exists, so we can activate the cache

- name: Enable Stack cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: 'C:\sr\snapshots'
key: cache-stack-windows-${{ hashFiles('stack.yaml.lock') }}-${{ hashFiles('git-annex.cabal') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/template/build-{{ostype}}.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ jobs:
run: stack setup

- name: Enable Stack cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.stack
key: cache-stack-macos-${{ hashFiles('stack.yaml.lock') }}-${{ hashFiles('git-annex.cabal') }}
Expand Down Expand Up @@ -236,7 +236,7 @@ jobs:
# At this point, stack.yaml.lock exists, so we can activate the cache

- name: Enable Stack cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: 'C:\sr\snapshots'
key: cache-stack-windows-${{ hashFiles('stack.yaml.lock') }}-${{ hashFiles('git-annex.cabal') }}
Expand Down

0 comments on commit dcec14c

Please sign in to comment.