Skip to content

Commit

Permalink
GHA windows: do not cache the tested packages
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate committed Jun 12, 2024
1 parent bba53f9 commit 758d36a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
- name: Checkout tree
uses: actions/checkout@v4

- name: Cache opam
- name: Restore opam cache
id: cache-opam
uses: actions/cache@v4
uses: actions/cache/restore@v4
with:
path: |
D:\opam\bin
Expand All @@ -33,6 +33,15 @@ jobs:
if: steps.cache-opam.outputs.cache-hit != 'true'
run: opam init -yn .

- name: Save opam cache
if: steps.cache-opam.outputs.cache-hit != 'true'
uses: actions/cache/save@v4
with:
path: |
D:\opam\bin
D:\opamroot
key: ${{ steps.cache-opam.outputs.cache-primary-key }}

- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v44
Expand Down

0 comments on commit 758d36a

Please sign in to comment.