File tree 2 files changed +4
-12
lines changed
2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change @@ -28,14 +28,6 @@ steps:
28
28
-
script :
npm install --global [email protected]
29
29
displayName : Update npm
30
30
31
- # Use Azure Syntax to set env variables for all shells and steps
32
- - pwsh : |
33
- if ($env:AGENT_OS -eq "Windows_NT") {
34
- $env:BUILD_ARCH=$env:buildArch
35
- echo "##vso[task.setvariable variable=BUILD_ARCH]$env:BUILD_ARCH"
36
- }
37
- displayName: Setting globally used env variables
38
-
39
31
# Windows Specific
40
32
- task : UsePythonVersion@0
41
33
inputs :
Original file line number Diff line number Diff line change 6
6
maxParallel : 2
7
7
matrix :
8
8
x64 :
9
- buildArch : x64
9
+ BUILD_ARCH : x64
10
10
x86 :
11
- buildArch : x86
11
+ BUILD_ARCH : x86
12
12
13
13
pool :
14
14
vmImage : vs2017-win2016
30
30
31
31
- script : node script\vsts\windows-run.js script\lint.cmd
32
32
env :
33
- BUILD_ARCH : $(buildArch )
33
+ BUILD_ARCH : $(BUILD_ARCH )
34
34
displayName : Run linter
35
35
36
36
- template : templates/build.yml
46
46
}
47
47
echo "##vso[task.setvariable variable=FileID]$env:FileID" # Azure syntax
48
48
env:
49
- BUILD_ARCH: $(buildArch )
49
+ BUILD_ARCH: $(BUILD_ARCH )
50
50
displayName: Set FileID based on the arch
51
51
52
52
- template : templates/publish.yml
You can’t perform that action at this time.
0 commit comments