Skip to content

Commit

Permalink
fix: use caching in the release workflow (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmaus committed Feb 15, 2022
1 parent 90b3c4b commit 065e97f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
release-please:
name: Release
name: Release Please # https://github.com/googleapis/release-please
runs-on: ubuntu-latest
steps:
- name: Release Please
Expand All @@ -34,6 +34,10 @@ jobs:
toolchain: stable
override: true

- name: Cache
if: ${{ steps.release.outputs.release_created }}
uses: Swatinem/rust-cache@v1

- name: Publish to crates.io
if: ${{ steps.release.outputs.release_created }}
run: |
Expand Down

0 comments on commit 065e97f

Please sign in to comment.