Skip to content

Commit

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

0 comments on commit 55e0342

Please sign in to comment.