Skip to content

Commit 8151770

Browse files
committed
chore: cache dep
1 parent 1f2f1b6 commit 8151770

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/release.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,17 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- uses: actions/checkout@v2
13+
- uses: actions/cache@v2
14+
id: cache
15+
with:
16+
path: |
17+
~/.cargo/bin/semantic-release-rust
18+
key: ${{ runner.os }}-semantic-release-rust-${{ hashFiles('.github/workflows/release.yaml') }}
1319
- uses: actions-rs/toolchain@v1
1420
with:
1521
toolchain: stable
1622
- uses: actions-rs/[email protected]
23+
if: steps.cache.outputs.cache-hit != 'true'
1724
with:
1825
crate: semantic-release-rust
1926
version: 1.0.0-alpha.6

0 commit comments

Comments
 (0)