mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	update pipeline
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									9cb47188ea
								
							
						
					
					
						commit
						3616688d6b
					
				
					 1 changed files with 10 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -273,6 +273,11 @@ stages:
 | 
			
		|||
      inputs:
 | 
			
		||||
        artifact: 'WindowsBuild-x64'
 | 
			
		||||
        path: $(Agent.TempDirectory)
 | 
			
		||||
    - task: DownloadPipelineArtifact@2
 | 
			
		||||
      displayName: 'Download NuGet Package'
 | 
			
		||||
      inputs:
 | 
			
		||||
        artifact: 'NuGetPackage'
 | 
			
		||||
        path: $(Agent.TempDirectory)
 | 
			
		||||
    - task: GitHubRelease@0
 | 
			
		||||
      inputs:
 | 
			
		||||
        gitHubConnection: Z3GitHub
 | 
			
		||||
| 
						 | 
				
			
			@ -288,8 +293,9 @@ stages:
 | 
			
		|||
        isDraft: true
 | 
			
		||||
        isPreRelease: false
 | 
			
		||||
 | 
			
		||||
  # Enable on release:
 | 
			
		||||
  - job: NuGetPublish
 | 
			
		||||
    condition: eq(0,1)
 | 
			
		||||
    condition: eq(1,1)
 | 
			
		||||
    displayName: "Publish to NuGet.org"
 | 
			
		||||
    steps:
 | 
			
		||||
    - task: DownloadPipelineArtifact@2
 | 
			
		||||
| 
						 | 
				
			
			@ -308,8 +314,9 @@ stages:
 | 
			
		|||
        publishFeedCredentials: Z3Nuget
 | 
			
		||||
        packagesToPush: $(Agent.TempDirectory)/*.nupkg
 | 
			
		||||
 | 
			
		||||
  # Enable on release:
 | 
			
		||||
  - job: PyPIPublish
 | 
			
		||||
    condition: eq(0,1)
 | 
			
		||||
    condition: eq(1,1)
 | 
			
		||||
    displayName: "Publish to PyPI"
 | 
			
		||||
    pool:
 | 
			
		||||
      vmImage: "ubuntu-16.04"
 | 
			
		||||
| 
						 | 
				
			
			@ -322,7 +329,6 @@ stages:
 | 
			
		|||
      name: pypirc
 | 
			
		||||
      inputs:
 | 
			
		||||
        secureFile: 'pypirc'
 | 
			
		||||
    - script: pip install --upgrade pip
 | 
			
		||||
    - script: python3 -m pip install --upgrade pip
 | 
			
		||||
    - script: python3 -m pip install --user -U setuptools importlib_metadata wheel twine 
 | 
			
		||||
    # Uncomment on release:
 | 
			
		||||
    - script: python3 -m twine upload --config-file $(pypirc.secureFilePath) -r $(pypiReleaseServer) dist/*
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue