Skip to content

Commit ae36e71

Browse files
committed
cache release
1 parent 8bd25ea commit ae36e71

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/release.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,17 @@ jobs:
2222
binary_path: target/superoptimized/sqlpage
2323
steps:
2424
- uses: actions/checkout@v3
25+
- name: Set up cargo cache
26+
uses: actions/cache@v3
27+
with:
28+
path: |
29+
~/.cargo/bin/
30+
~/.cargo/registry/index/
31+
~/.cargo/registry/cache/
32+
~/.cargo/git/db/
33+
target/
34+
key: release-${{ runner.os }}-check-${{ hashFiles('**/Cargo.lock') }}
35+
restore-keys: release-${{ runner.os }}-check-
2536
- run: cargo build --profile superoptimized --locked
2637
- uses: actions/upload-artifact@v3
2738
with:

0 commit comments

Comments
 (0)