Skip to content

Commit 39f908c

Browse files
committed
unpack multiple envs into a string
1 parent 0d091c0 commit 39f908c

File tree

2 files changed

+11
-6
lines changed

2 files changed

+11
-6
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,19 @@ jobs:
4444
fail-fast: false
4545
matrix:
4646
env-paths:
47-
- ["envs/env1.yaml"]
48-
- ["envs/env2.yaml"]
49-
- ["envs/env1.yaml", "envs/env2.yaml"]
47+
- "envs/env1.yaml"
48+
- "envs/env2.yaml"
49+
- |
50+
envs/env1.yaml
51+
envs/env2.yaml
5052
expected-failure: ["false"]
5153
include:
52-
- env-paths: ["envs/failing-env1.yaml"]
54+
- env-paths: |
55+
envs/failing-env1.yaml
5356
expected-failure: "true"
54-
- env-paths: ["envs/env1.yaml", "envs/failing-env1.yaml"]
57+
- env-paths: |
58+
envs/env1.yaml
59+
envs/failing-env1.yaml
5560
expected-failure: "true"
5661
5762
steps:

action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ runs:
2323
COLUMNS: 120
2424
FORCE_COLOR: 3
2525
run: |
26-
python minimum_versions.py ${{ join(inputs.environment-paths, ' ') }}
26+
python minimum_versions.py "${{ inputs.environment-paths }}"

0 commit comments

Comments
 (0)