Skip to content

Commit

Permalink
docs: change actions/cache@v3 to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
jiro4989 committed Jul 7, 2024
1 parent ab7a15a commit 1ce45af
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ I changed setup-nim-action so that is does not use choosenim to solve this probl

- name: Cache nimble
id: cache-nimble
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.nimble
- key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
Expand All @@ -64,7 +64,7 @@ I changed setup-nim-action so that is does not use choosenim to solve this probl

- - name: Cache choosenim
- id: cache-choosenim
- uses: actions/cache@v3
- uses: actions/cache@v4
- with:
- path: ~/.choosenim
- key: ${{ runner.os }}-choosenim-${{ matrix.cache-key }}-${{ steps.get-date.outputs.date }}
Expand Down Expand Up @@ -93,7 +93,7 @@ Please clear cache if you get the following error.
Cache is cleared if you change cache key.

```diff
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.nimble
- key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
Expand All @@ -107,7 +107,7 @@ Cache is cleared if you change cache key.
Or please remove actions/cache.

```diff
- uses: actions/cache@v3
- uses: actions/cache@v4
- with:
- path: ~/.nimble
- key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
Expand Down Expand Up @@ -175,7 +175,7 @@ steps:
- uses: actions/checkout@v4
- name: Cache nimble
id: cache-nimble
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.nimble
key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
Expand Down Expand Up @@ -294,7 +294,7 @@ jobs:
- name: Cache nimble
id: cache-nimble
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.nimble
key: ${{ runner.os }}-nimble-${{ hashFiles('*.nimble') }}
Expand Down

0 comments on commit 1ce45af

Please sign in to comment.