File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 5858 echo "env-name=${{ matrix.spec }}-${{ matrix.conda-env }}-${{ matrix.python-version }}" >> $GITHUB_OUTPUT
5959 echo "env-file=dev/env-${{ matrix.conda-env }}.yaml"
6060 echo "env-file=dev/env-${{ matrix.conda-env }}.yaml" >> $GITHUB_OUTPUT
61- [ ! -f dev/env-${{ matrix.conda-env }}.yaml ] && exit 1
61+ - shell : python
62+ run : |
63+ from pathlib import Path
64+ from pprint import pprint
65+ if not (env_path:=Path("${{steps.setup.outputs.env-file}}")).exists():
66+ if env_path.parent.exists():
67+ pprint(env_path.parent.glob("*"))
68+ else:
69+ pprint(Path().glob("*"))
70+ raise FileNotFoundError(f"{env_path} does not exist")
71+
6272 - uses : conda-incubator/setup-miniconda@v3
6373 with :
6474 auto-update-conda : true
You can’t perform that action at this time.
0 commit comments