Skip to content

Commit abf286f

Browse files
committed
rename the environment-paths input to environments
1 parent c2351bf commit abf286f

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

action.yaml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@ inputs:
77
The path to the policy to follow
88
required: true
99
type: string
10-
environment-paths:
11-
description: >-
12-
The paths to the environment files
13-
required: true
14-
type: list
1510
today:
1611
description: >-
1712
Time machine for testing
1813
required: false
1914
type: string
15+
environments:
16+
description: >-
17+
The names or paths of the environments. Pixi environment names must be
18+
prefixed with `pixi:`. Conda environment paths may be prefixed with
19+
`conda:`. If there is no prefix, it is assumed to be a conda env path.
20+
required: true
21+
type: list
2022
manifest-path:
2123
description: >-
2224
Path to the manifest file of `pixi`. Required for `pixi` environments.
@@ -40,12 +42,12 @@ runs:
4042
COLUMNS: 120
4143
FORCE_COLOR: 3
4244
POLICY_PATH: ${{ inputs.policy }}
43-
ENVIRONMENT_PATHS: ${{ inputs.environment-paths }}
45+
ENVIRONMENTS: ${{ inputs.environment }}
4446
TODAY: ${{ inputs.today }}
4547
MANIFEST_PATH: ${{ inputs.manifest-path }}
4648
run: |
4749
python -m minimum_versions validate \
4850
--today="$TODAY" \
4951
--policy="$POLICY_PATH" \
5052
--manifest-path="$MANIFEST_PATH" \
51-
$ENVIRONMENT_PATHS
53+
$ENVIRONMENTS

0 commit comments

Comments
 (0)