Skip to content

Commit

Permalink
Replace runner.os with runner.name
Browse files Browse the repository at this point in the history
  • Loading branch information
DenisVieriu97 committed Dec 6, 2023
1 parent 90bf7bc commit 5ab9821
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/pull_mps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@ jobs:
run: |
set -eux
if conda info --envs | grep -q "env-${{ runner.name }}"; then echo "base already exists"; else conda create -y -n "env-${{ runner.name }}"; fi
CONDA_ENV="env-${{ runner.name }}"
if [[ -n "$CONDA_ENV" ]]; then
# Use binaries under conda environment
export PATH="$CONDA_ENV/bin":$PATH
fi
conda activate "env-${{ runner.name }}"
Expand Down

0 comments on commit 5ab9821

Please sign in to comment.