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:
|
inputs:
|
||||||
SourceFolder: $(Pipeline.Workspace)/${{ parameters.reuseBuildArtifactsFrom }}_${{ parameters.architecture }}_Artifacts
|
SourceFolder: $(Pipeline.Workspace)/${{ parameters.reuseBuildArtifactsFrom }}_${{ parameters.architecture }}_Artifacts
|
||||||
Contents: '*.tar.gz'
|
Contents: '*.tar.gz'
|
||||||
TargetFolder: ${{ variables.sourcesPath }}/packages/archive/
|
TargetFolder: ${{ variables.sourcesPath }}/prereqs/packages/archive/
|
||||||
|
|
||||||
- script: |
|
- script: |
|
||||||
set -x
|
set -x
|
||||||
|
@ -154,7 +154,7 @@ jobs:
|
||||||
docker run --rm -v "$(sourcesPath):/vmr" -w /vmr ${{ parameters.container }} ./prep.sh
|
docker run --rm -v "$(sourcesPath):/vmr" -w /vmr ${{ parameters.container }} ./prep.sh
|
||||||
else
|
else
|
||||||
mkdir $(sourcesPath)/.dotnet
|
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 tar -ozxf "$previousSdkPath" -C "$(sourcesPath)/.dotnet"
|
||||||
eval rm -f "$previousSdkPath"
|
eval rm -f "$previousSdkPath"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue