Skip to content

Commit 67b5af5

Browse files
authored
Update build_package.yml
Source conda's shell scripts to make conda activate available for the current script session
1 parent f8b9348 commit 67b5af5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build_package.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip virtualenv
24+
CONDA_BASE=$(conda info --base)
25+
source "${CONDA_BASE}/etc/profile.d/conda.sh"
2426
conda env update --prune --file environment.yml
25-
conda init zsh
2627
conda activate coast
2728
- name: Shell Script Permissions
2829
run: |

0 commit comments

Comments
 (0)