File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ inputs:
2525 required : false
2626 default : " "
2727 additional-cache-key :
28- description : " An additional cache key that is added alongside the automatic ` job` -based cache key."
28+ description : " An additional cache key appended to the workflow-name prefix and automatic job-based cache key."
2929 required : false
3030 default : " "
3131 rust-cache-enabled :
8383 components : ${{ inputs.components }}
8484 targets : ${{ inputs.targets }}
8585 - name : Normalize cache key
86+ if : inputs.rust-cache-enabled == 'true'
8687 id : cache-key
8788 shell : bash
8889 env :
9697 key="$(printf '%s' "$key" | LC_ALL=C tr -c 'A-Za-z0-9._-' '-')"
9798 echo "key=${key}" >> "$GITHUB_OUTPUT"
9899 - name : Configure rust cache workspace
100+ if : inputs.rust-cache-enabled == 'true'
99101 id : rust-cache-workspace
100102 shell : bash
101103 run : |
You can’t perform that action at this time.
0 commit comments