Skip to content

Commit 919723a

Browse files
author
Your Name
committed
Cache cargo and roc in dev release
1 parent afdd162 commit 919723a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/dev-release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,19 @@ jobs:
1818
with:
1919
version: nightly
2020

21+
- name: Cache cargo + roc
22+
uses: actions/cache@v4
23+
with:
24+
path: |
25+
~/.cargo/registry
26+
~/.cargo/git
27+
target
28+
~/.cache/roc
29+
key: ${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}-${{ env.CARGO_BUILD_TARGET || 'native' }}
30+
restore-keys: |
31+
${{ runner.os }}-cargo-${{ hashFiles('Cargo.lock') }}-
32+
${{ runner.os }}-cargo-
33+
2134
- name: Install dependencies
2235
run: |
2336
sudo apt-get update

0 commit comments

Comments
 (0)