Skip to content

Commit

Permalink
Block all steps without cache-name
Browse files Browse the repository at this point in the history
  • Loading branch information
junderw committed Nov 11, 2023
1 parent 7f828cd commit dda5da4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/actions/ci-rust-setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ inputs:

runs:
using: composite
if: inputs.cache-name != ''
steps:
- name: Get toolchain from input OR rust-toolchain file
id: gettoolchain
Expand All @@ -41,7 +42,6 @@ runs:
components: ${{ inputs.components }}
- name: Cache dependencies
uses: actions/cache@v3
if: inputs.cache-name != ''
with:
path: |
~/.cargo/registry
Expand Down

0 comments on commit dda5da4

Please sign in to comment.