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' # We don't ship any built in packages. generateNotice: false pyProjectTomlPath: $(Build.SourcesDirectory)/packages/python/pyproject.toml 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