Skip to content

Commit a3aba73

Browse files
committed
make sed command work for macos
1 parent 0866fd9 commit a3aba73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/conda-install/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525

2626
- name: Modify environment file
2727
run: |
28-
sed -i "s/python>3.7/python=${{ inputs.python-version }}/g" environment.yml
28+
sed -i'' -e "s/python>3.7/python=${{ inputs.python-version }}/g" environment.yml
2929
shell: bash
3030

3131
- name: Get Date

0 commit comments

Comments
 (0)