Fix location of prereqs/packages/archive during VMR CI (#15498)
This commit is contained in:
parent
e035eef6c8
commit
ca1b29d7bc
1 changed files with 2 additions and 2 deletions
|
@ -145,7 +145,7 @@ jobs:
|
|||
inputs:
|
||||
SourceFolder: $(Pipeline.Workspace)/${{ parameters.reuseBuildArtifactsFrom }}_${{ parameters.architecture }}_Artifacts
|
||||
Contents: '*.tar.gz'
|
||||
TargetFolder: ${{ variables.sourcesPath }}/packages/archive/
|
||||
TargetFolder: ${{ variables.sourcesPath }}/prereqs/packages/archive/
|
||||
|
||||
- script: |
|
||||
set -x
|
||||
|
@ -154,7 +154,7 @@ jobs:
|
|||
docker run --rm -v "$(sourcesPath):/vmr" -w /vmr ${{ parameters.container }} ./prep.sh
|
||||
else
|
||||
mkdir $(sourcesPath)/.dotnet
|
||||
previousSdkPath="$(sourcesPath)/packages/archive/dotnet-sdk-*.tar.gz"
|
||||
previousSdkPath="$(sourcesPath)/prereqs/packages/archive/dotnet-sdk-*.tar.gz"
|
||||
eval tar -ozxf "$previousSdkPath" -C "$(sourcesPath)/.dotnet"
|
||||
eval rm -f "$previousSdkPath"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue