Skip to content

Commit

Permalink
Update conda ownership command in CI pipeline to use conda base path
Browse files Browse the repository at this point in the history
  • Loading branch information
fbriol committed Nov 5, 2024
1 parent 0864c4c commit f3ecac9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,9 @@ jobs:
displayName: Initialize the submodules
- bash: echo "##vso[task.prependpath]$CONDA/bin"
displayName: Add conda to PATH
- bash: sudo chown -R $USER:staff $CONDA
- bash: |
CONDA_PATH=$(conda info --base)
sudo chown -R $USER:staff $CONDA_PATH
displayName: Take ownership of conda installation
- bash: conda create --yes --quiet --name Build
displayName: Create Anaconda environment
Expand Down

0 comments on commit f3ecac9

Please sign in to comment.