Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new release pipeline #231

Merged
merged 1 commit into from
Jul 6, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions azure-pipelines/release-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
trigger: none
pr: none

resources:
repositories:
- repository: templates
type: github
name: microsoft/vscode-engineering
ref: main
endpoint: Monaco

parameters:
- name: publishPackage
displayName: 🚀 Publish Package
type: boolean
default: false

extends:
template: azure-pipelines/pypi-package/pipeline.yml@templates
parameters:
publishPackage: ${{ parameters.publishPackage }}
pythonVersion: '3.7'
packageLocation: $(Build.SourcesDirectory)/packages/python/dist
buildSteps:
- script: python -m pip install nox
displayName: Install nox

- script: python -m nox --session build
displayName: Build package (sdist and wheels)

- publish: $(Build.SourcesDirectory)/packages/python/dist
artifact: dist
displayName: 🚛 Publish artifact