Skip to content

Commit bb31c7f

Browse files
authored
Tweak actions config (#653)
- use actions/cache v2 - `restore-key` is wrong, should be `restore-keys`
1 parent 79b6830 commit bb31c7f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ jobs:
1212
steps:
1313
- uses: actions/checkout@v2
1414
- name: Cache cargo
15-
uses: actions/cache@v1
15+
uses: actions/cache@v2
1616
with:
1717
path: target
1818
key: cargo-build-${{ hashFiles('**/Cargo.lock') }}
19-
restore-key: cargo-build-
19+
restore-keys: |
20+
cargo-build-
2021
- run: cargo run
2122
- run: cp CNAME ./site/
2223
- run: touch site/.nojekyll

0 commit comments

Comments
 (0)