From a3aba731d4069531fb2dae94165fefe759e6db70 Mon Sep 17 00:00:00 2001 From: Kei Date: Mon, 25 Sep 2023 21:35:39 +0200 Subject: [PATCH] make sed command work for macos --- .github/actions/conda-install/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/conda-install/action.yml b/.github/actions/conda-install/action.yml index 5cc07ec..227d06a 100644 --- a/.github/actions/conda-install/action.yml +++ b/.github/actions/conda-install/action.yml @@ -25,7 +25,7 @@ runs: - name: Modify environment file run: | - sed -i "s/python>3.7/python=${{ inputs.python-version }}/g" environment.yml + sed -i'' -e "s/python>3.7/python=${{ inputs.python-version }}/g" environment.yml shell: bash - name: Get Date