Skip to content

Commit

Permalink
Update owner of artifacts staging directory for offline builds (#45489)
Browse files Browse the repository at this point in the history
  • Loading branch information
ellahathaway authored Dec 16, 2024
1 parent a98621f commit a83c58d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions eng/pipelines/templates/jobs/vmr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -432,6 +432,13 @@ jobs:
displayName: Build
workingDirectory: $(sourcesPath)
- ${{ if ne(parameters.runOnline, 'True' )}}:
- script: |
set -ex
# Update the owner of the staging directory to the current user
sudo chown -R $(whoami) $(artifactsStagingDir)
displayName: Update owner of artifacts staging directory
# Only run tests if enabled
- ${{ if eq(parameters.runTests, 'True') }}:
# Setup the NuGet sources used by the tests to use private feeds. This is necessary when testing internal-only product
Expand Down

0 comments on commit a83c58d

Please sign in to comment.