to revert: fake VSCODE_CIBUILD

pull/178944/head
João Moreno 2023-04-02 18:27:08 +02:00
parent b3465516c4
commit f9d5378c8b
No known key found for this signature in database
GPG Key ID: 896B853774D1A575
1 changed files with 5 additions and 1 deletions

View File

@ -96,6 +96,10 @@ parameters:
displayName: "Skip tests"
type: boolean
default: false
- name: VSCODE_CIBUILD
displayName: "CI Build"
type: boolean
default: false
variables:
- name: VSCODE_PRIVATE_BUILD
@ -115,7 +119,7 @@ variables:
- name: VSCODE_BUILD_STAGE_WEB
value: ${{ eq(parameters.VSCODE_BUILD_WEB, true) }}
- name: VSCODE_CIBUILD
value: ${{ in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI') }}
value: ${{ eq(parameters.VSCODE_CIBUILD, true) }}
- name: VSCODE_PUBLISH
value: ${{ and(eq(parameters.VSCODE_PUBLISH, true), eq(variables.VSCODE_CIBUILD, false), eq(parameters.VSCODE_COMPILE_ONLY, false)) }}
- name: VSCODE_PUBLISH_TO_MOONCAKE