Skip to content

Commit

Permalink
Update manually-publish.yml for Azure Pipelines (#263)
Browse files Browse the repository at this point in the history
* Update manually-publish.yml for Azure Pipelines

* Update manually-publish.yml for Azure Pipelines

* Update manually-publish.yml for Azure Pipelines

* add tar.gz into package

* add trigger : none
  • Loading branch information
xiaowuhu authored Aug 22, 2023
1 parent 3873b29 commit 8d2f85f
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions manually-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
trigger: none

steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.11'
displayName: 'Set Up Python'
- script: python -m pip install --upgrade pip build wheel
displayName: 'Install Python build dependencies'
- script: python -m build
displayName: 'Build wheel'
- task: CopyFiles@2
displayName: 'Copy Python Wheel to: $(Build.ArtifactStagingDirectory)'
inputs:
SourceFolder: 'dist'
Contents: '*.*'
TargetFolder: '$(Build.ArtifactStagingDirectory)'
- task: PublishBuildArtifacts@1
displayName: 'Publish converter-common'
inputs:
ArtifactName: onnxconverter_common
- task: EsrpRelease@3
inputs:
ConnectedServiceName: 'esrprelease'
Intent: 'PackageDistribution'
ContentType: 'PyPi'
PackageLocation: '$(Build.ArtifactStagingDirectory)'
Owners: '[email protected]'
Approvers: '[email protected]'
ServiceEndpointUrl: 'https://api.esrp.microsoft.com'
MainPublisher: 'AIFrameworks'
DomainTenantId: '72f988bf-86f1-41af-91ab-2d7cd011db47'

0 comments on commit 8d2f85f

Please sign in to comment.