File tree Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Expand file tree Collapse file tree 2 files changed +0
-31
lines changed Original file line number Diff line number Diff line change @@ -504,16 +504,6 @@ jobs:
504
504
chmod +x $HOME/bin/jq
505
505
echo "##vso[task.prependpath]$HOME/bin"
506
506
displayName: Install jq
507
- - task : UseDotNet@2
508
- displayName : ' Use .NET Core sdk'
509
- inputs :
510
- packageType : sdk
511
- # The SDK version selected here is intentionally supposed to use the latest release
512
- # For the purpose of building Linux distros, we can't depend on features of the SDK
513
- # which may not exist in pre-built versions of the SDK
514
- version : 3.0.x
515
- installationPath : $(DotNetCoreSdkDir)
516
- includePreviewVersions : true
517
507
- script : ./eng/scripts/ci-source-build.sh --ci --configuration Release /p:BuildManaged=true /p:BuildNodeJs=false
518
508
displayName : Run ci-source-build.sh
519
509
- task : PublishBuildArtifacts@1
Original file line number Diff line number Diff line change @@ -9,27 +9,6 @@ set -euo pipefail
9
9
scriptroot=" $( cd -P " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
10
10
reporoot=" $( dirname " $( dirname " $scriptroot " ) " ) "
11
11
12
- # For local development, make a backup copy of this file first
13
- if [ ! -f " $reporoot /global.bak.json" ]; then
14
- mv " $reporoot /global.json" " $reporoot /global.bak.json"
15
- fi
16
-
17
- # Detect the current version of .NET Core installed
18
- export SDK_VERSION=$( dotnet --version)
19
- echo " The ambient version of .NET Core SDK version = $SDK_VERSION "
20
-
21
- # Update the global.json file to match the current .NET environment
22
- cat " $reporoot /global.bak.json" | \
23
- jq ' .sdk.version=env.SDK_VERSION' | \
24
- jq ' .tools.dotnet=env.SDK_VERSION' | \
25
- jq ' del(.tools.runtimes)' \
26
- > " $reporoot /global.json"
27
-
28
- # Restore the original global.json file
29
- trap " {
30
- mv " $reporoot /global.bak.json" " $reporoot /global.json"
31
- }" EXIT
32
-
33
12
export DotNetBuildFromSource=' true'
34
13
35
14
# Build repo tasks
You can’t perform that action at this time.
0 commit comments