mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-20 07:28:08 +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
|
||||
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
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
|
@ -6,9 +6,9 @@ jobs:
|
||||
maxParallel: 2
|
||||
matrix:
|
||||
x64:
|
||||
buildArch: x64
|
||||
BUILD_ARCH: x64
|
||||
x86:
|
||||
buildArch: x86
|
||||
BUILD_ARCH: x86
|
||||
|
||||
pool:
|
||||
vmImage: vs2017-win2016
|
||||
@ -30,7 +30,7 @@ jobs:
|
||||
|
||||
- script: node script\vsts\windows-run.js script\lint.cmd
|
||||
env:
|
||||
BUILD_ARCH: $(buildArch)
|
||||
BUILD_ARCH: $(BUILD_ARCH)
|
||||
displayName: Run linter
|
||||
|
||||
- template: templates/build.yml
|
||||
@ -46,7 +46,7 @@ jobs:
|
||||
}
|
||||
echo "##vso[task.setvariable variable=FileID]$env:FileID" # Azure syntax
|
||||
env:
|
||||
BUILD_ARCH: $(buildArch)
|
||||
BUILD_ARCH: $(BUILD_ARCH)
|
||||
displayName: Set FileID based on the arch
|
||||
|
||||
- template: templates/publish.yml
|
||||
|
Loading…
Reference in New Issue
Block a user