Skip to content

Commit 510708c

Browse files
authored
Fix build yml for azure pipelines (#18626)
1 parent dbcbe84 commit 510708c

2 files changed

Lines changed: 34 additions & 34 deletions

File tree

‎build/azure-pipeline.pre-release.yml‎

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,34 +34,34 @@ extends:
3434
architecture: 'x64'
3535
displayName: Select Python version
3636

37-
- displayName: Install NPM dependencies
38-
script: npm ci
37+
- script: npm ci
38+
displayName: Install NPM dependencies
3939

40-
- displayName: Upgrade pip
41-
script: python -m pip install -U pip
40+
- script: python -m pip install -U pip
41+
displayName: Upgrade pip
4242

43-
- displayName: Install wheel
44-
script: python -m pip install wheel
43+
- script: python -m pip install wheel
44+
displayName: Install wheel
4545

46-
- displayName: Install debugpy
47-
script: |
46+
- script: |
4847
python -m pip --disable-pip-version-check install -r build/debugger-install-requirements.txt
4948
python ./pythonFiles/install_debugpy.py
49+
displayName: Install debugpy
5050
51-
- displayName: Install Python dependencies
52-
script: |
51+
- script: |
5352
python -m pip install --no-deps --require-hashes --only-binary :all: -t ./pythonFiles/lib/python --implementation py -r ./requirements.txt
53+
displayName: Install Python dependencies
5454
55-
- displayName: Install Jedi Language Server
56-
script: |
55+
- script: |
5756
python -m pip install --no-deps --require-hashes --only-binary :all: -t ./pythonFiles/lib/jedilsp --implementation py --platform any --abi none -r ./pythonFiles/jedilsp_requirements/requirements.txt
57+
displayName: Install Jedi Language Server
5858
59-
- displayName: Update build number
60-
script: |
59+
- script: |
6160
python ./build/update_ext_version.py --for-publishing
61+
displayName: Update build number
6262
63-
- displayName: Update optional extension dependencies
64-
run: npm run addExtensionPackDependencies
63+
- run: npm run addExtensionPackDependencies
64+
displayName: Update optional extension dependencies
6565

6666
- script: gulp prePublishBundle
6767
displayName: Build

‎build/azure-pipeline.stable.yml‎

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -30,34 +30,34 @@ extends:
3030
architecture: 'x64'
3131
displayName: Select Python version
3232

33-
- displayName: Install NPM dependencies
34-
script: npm ci
33+
- script: npm ci
34+
displayName: Install NPM dependencies
3535

36-
- displayName: Upgrade pip
37-
script: python -m pip install -U pip
36+
- script: python -m pip install -U pip
37+
displayName: Upgrade pip
3838

39-
- displayName: Install wheel
40-
script: python -m pip install wheel
39+
- script: python -m pip install wheel
40+
displayName: Install wheel
4141

42-
- displayName: Install debugpy
43-
script: |
42+
- script: |
4443
python -m pip --disable-pip-version-check install -r build/debugger-install-requirements.txt
4544
python ./pythonFiles/install_debugpy.py
45+
displayName: Install debugpy
4646
47-
- displayName: Install Python dependencies
48-
script: |
47+
- script: |
4948
python -m pip install --no-deps --require-hashes --only-binary :all: -t ./pythonFiles/lib/python --implementation py -r ./requirements.txt
49+
displayName: Install Python dependencies
5050
51-
- displayName: Install Jedi Language Server
52-
script: |
51+
- script: |
5352
python -m pip install --no-deps --require-hashes --only-binary :all: -t ./pythonFiles/lib/jedilsp --implementation py --platform any --abi none -r ./pythonFiles/jedilsp_requirements/requirements.txt
53+
displayName: Install Jedi Language Server
5454
55-
- displayName: Update build number
56-
script: |
55+
- script: |
5756
python ./build/update_ext_version.py --release --for-publishing
57+
displayName: Update build number
5858
59-
- displayName: Update optional extension dependencies
60-
run: npm run addExtensionPackDependencies
59+
- run: npm run addExtensionPackDependencies
60+
displayName: Update optional extension dependencies
6161

62-
- displayName: Build
63-
script: gulp prePublishBundle
62+
- script: gulp prePublishBundle
63+
displayName: Build

0 commit comments

Comments
 (0)