mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
rename "buildArch" to "BUILD_ARCH"
Co-authored-by: Amin Yahyaabadi <aminyahyaabadi74@gmail.com>
This commit is contained in:
parent
19b5177396
commit
8b05ca5c7d
@ -28,14 +28,6 @@ steps:
|
|||||||
- script: npm install --global npm@6.9.0
|
- script: npm install --global npm@6.9.0
|
||||||
displayName: Update npm
|
displayName: Update npm
|
||||||
|
|
||||||
# Use Azure Syntax to set env variables for all shells and steps
|
|
||||||
- pwsh: |
|
|
||||||
if ($env:AGENT_OS -eq "Windows_NT") {
|
|
||||||
$env:BUILD_ARCH=$env:buildArch
|
|
||||||
echo "##vso[task.setvariable variable=BUILD_ARCH]$env:BUILD_ARCH"
|
|
||||||
}
|
|
||||||
displayName: Setting globally used env variables
|
|
||||||
|
|
||||||
# Windows Specific
|
# Windows Specific
|
||||||
- task: UsePythonVersion@0
|
- task: UsePythonVersion@0
|
||||||
inputs:
|
inputs:
|
||||||
|
@ -6,9 +6,9 @@ jobs:
|
|||||||
maxParallel: 2
|
maxParallel: 2
|
||||||
matrix:
|
matrix:
|
||||||
x64:
|
x64:
|
||||||
buildArch: x64
|
BUILD_ARCH: x64
|
||||||
x86:
|
x86:
|
||||||
buildArch: x86
|
BUILD_ARCH: x86
|
||||||
|
|
||||||
pool:
|
pool:
|
||||||
vmImage: vs2017-win2016
|
vmImage: vs2017-win2016
|
||||||
@ -30,7 +30,7 @@ jobs:
|
|||||||
|
|
||||||
- script: node script\vsts\windows-run.js script\lint.cmd
|
- script: node script\vsts\windows-run.js script\lint.cmd
|
||||||
env:
|
env:
|
||||||
BUILD_ARCH: $(buildArch)
|
BUILD_ARCH: $(BUILD_ARCH)
|
||||||
displayName: Run linter
|
displayName: Run linter
|
||||||
|
|
||||||
- template: templates/build.yml
|
- template: templates/build.yml
|
||||||
@ -46,7 +46,7 @@ jobs:
|
|||||||
}
|
}
|
||||||
echo "##vso[task.setvariable variable=FileID]$env:FileID" # Azure syntax
|
echo "##vso[task.setvariable variable=FileID]$env:FileID" # Azure syntax
|
||||||
env:
|
env:
|
||||||
BUILD_ARCH: $(buildArch)
|
BUILD_ARCH: $(BUILD_ARCH)
|
||||||
displayName: Set FileID based on the arch
|
displayName: Set FileID based on the arch
|
||||||
|
|
||||||
- template: templates/publish.yml
|
- template: templates/publish.yml
|
||||||
|
Loading…
Reference in New Issue
Block a user