Skip to content

Commit 2227256

Browse files
Set environment variables for scripts
Set some environment variables for the scripts that I noticed the Arcade scripts try to set for Azure Pipelines via console output.
1 parent 75ebd13 commit 2227256

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,21 @@ jobs:
5050
Write-Host "::set-env name=_AspNetContribBuildNumber::${BuildId}"
5151
5252
- name: Build, Test and Package
53-
run: eng\common\CIBuild.cmd -configuration Release -prepareMachine
5453
if: ${{ runner.os == 'Windows' }}
54+
run: eng\common\CIBuild.cmd -configuration Release -prepareMachine
55+
env:
56+
DOTNET_MULTILEVEL_LOOKUP: 0
57+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
58+
NUGET_XMLDOC_MODE: skip
5559

5660
- name: Build, Test and Package
5761
shell: pwsh
58-
run: ./eng/common/cibuild.sh -configuration Release -prepareMachine
5962
if: ${{ runner.os != 'Windows' }}
63+
run: ./eng/common/cibuild.sh -configuration Release -prepareMachine
64+
env:
65+
DOTNET_MULTILEVEL_LOOKUP: 0
66+
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
67+
NUGET_XMLDOC_MODE: skip
6068

6169
- name: Publish logs
6270
uses: actions/upload-artifact@v1

0 commit comments

Comments
 (0)