Skip to content

Commit 77ff03e

Browse files
committed
Remove fixed python version from environment.yml in CI before setup-miniconda
1 parent bf3cb99 commit 77ff03e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020

21+
- name: Remove fixed python version from environment.yml
22+
run: python -c "with open('environment.yml') as f: lines = f.readlines(); with open('environment.yml', 'w') as f: [f.write(l) for l in lines if '- python=' not in l]"
23+
2124
- name: Set up conda environment
2225
uses: conda-incubator/setup-miniconda@v3
2326
with:

0 commit comments

Comments
 (0)