Skip to content

Commit d2ea0d7

Browse files
committed
[ci] setup nits
1 parent be57207 commit d2ea0d7

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/actions/setup/action.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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:
@@ -83,6 +83,7 @@ runs:
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:
@@ -96,6 +97,7 @@ runs:
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: |

0 commit comments

Comments
 (0)