Skip to content

Commit b615245

Browse files
committed
Rework stripping of Python version from environment.
1 parent e7caa10 commit b615245

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/env-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ jobs:
4949
- name: strip hardcoded Python version from environment for testing
5050
run: |
5151
if [[ ${{ matrix.os }} == "macos"* ]]; then
52-
sed -i '' -e '/- python=/d' environment.yml;
52+
sed -i '' -e '/- python/d' environment.yml;
5353
else
54-
sed -i -e '/- python=/d' environment.yml;
54+
sed -i -e '/- python/d' environment.yml;
5555
fi;
5656
5757
# create the conda env

0 commit comments

Comments
 (0)