-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Along the way, factor out a chunk of the steps required to build the VSIX.
- Loading branch information
1 parent
137b83f
commit 7ccf189
Showing
3 changed files
with
431 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.