Skip to content

Commit 36355e1

Browse files
committed
Improve explanation about none option string
1 parent da78ec1 commit 36355e1

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/actions/install-deps/action.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@ description: Install package dependencies using uv
33

44
inputs:
55
options:
6-
description: 'Package options to install (space-separated, e.g., "full"). "none is an alias for empty string.'
6+
# We can't directly provide the empty string for no options because it would be mapped to the
7+
# default value thanks to github's weird logic (https://github.com/actions/toolkit/issues/940)
8+
description: 'Package options to install (space-separated, e.g., "full"). Use "none" for no options.'
79
required: false
810
default: 'full'
911
groups:
@@ -17,7 +19,7 @@ runs:
1719
- name: Install dependencies (options=[${{ inputs.options }}], groups=[${{ inputs.groups }}])
1820
shell: bash
1921
run: |
20-
# Handle "none" as alias for empty string
22+
# Map "none" to the empty string
2123
options_input="${{ inputs.options }}"
2224
if [ "$options_input" = "none" ]; then
2325
options_input=""

0 commit comments

Comments
 (0)