forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
53 lines (43 loc) · 1.69 KB
/
action.yml
File metadata and controls
53 lines (43 loc) · 1.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: 'Build VSIX'
description: "Build the extension's VSIX"
outputs:
path:
description: 'Path to the VSIX'
value: 'ms-python-insiders.vsix'
runs:
using: 'composite'
steps:
- name: Upgrade Pip
run: python -m pip install -U pip
shell: bash
# For faster/better builds of sdists.
- name: Install build pre-requisite
run: python -m pip install wheel
shell: bash
- name: Install python dependencies
run: python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade -r requirements.txt
shell: bash
- name: Install debugpy
run: |
python -m pip --disable-pip-version-check install -r build/debugger-install-requirements.txt
python ./pythonFiles/install_debugpy.py
shell: bash
- name: Install Jedi LSP
run: |
python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/jedilsp --no-cache-dir --implementation py --platform any --abi none --no-deps --only-binary :all: --upgrade -r jedils_requirements.txt
shell: bash
- name: Run npm ci
run: npm ci --prefer-offline
shell: bash
# Use the GITHUB_RUN_ID environment variable to update the build number.
# GITHUB_RUN_ID is a unique number for each run within a repository.
# This number does not change if you re-run the workflow run.
- name: Update extension build number
run: npm run updateBuildNumber -- --buildNumber $GITHUB_RUN_ID
shell: bash
- name: Update optional extension dependencies
run: npm run addExtensionPackDependencies
shell: bash
- name: Build VSIX
run: npm run package
shell: bash