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
34 lines (27 loc) · 1.03 KB
/
action.yml
File metadata and controls
34 lines (27 loc) · 1.03 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
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:
# For faster/better builds of sdists.
- run: python -m pip install wheel
shell: bash
- 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
- run: |
python -m pip --disable-pip-version-check install -r build/debugger-install-requirements.txt
python ./pythonFiles/install_debugpy.py
shell: bash
- 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.
- run: npm run updateBuildNumber -- --buildNumber $GITHUB_RUN_ID
shell: bash
- run: npm run package
shell: bash