Work CI-CD
Add tasks and steps to publish nanoCLR WIN32 to Bintray.
@@ -340,6 +340,9 @@ jobs:
pool:
vmImage: 'windows-2019'
+ variables:
+ TargetPublishName: WIN32_nanoCLR
+
steps:
- template: azure-pipelines-templates/nb-gitversioning.yml
@@ -372,6 +375,16 @@ jobs:
TargetFolder: '$(Build.ArtifactStagingDirectory)'
flattenFolders: true
+ - task: CopyFiles@1
+ condition: succeeded()
+ displayName: Collecting EXE to deployable artifacts
+ inputs:
+ sourceFolder: $(Build.SourcesDirectory)
+ Contents: |
+ **\nanoFramework.nanoCLR.exe
+ TargetFolder: '$(Build.ArtifactStagingDirectory)\$(TargetPublishName)'
+ flattenFolders: true
+
- task: DotNetCoreCLI@2
displayName: Install SignTool tool
condition: and( succeeded(), eq(variables['System.PullRequest.PullRequestId'], '') )
@@ -428,6 +441,8 @@ jobs:
packagesToPush: '$(Build.ArtifactStagingDirectory)/*.nupkg'
publishFeedCredentials: 'NuGet-nf-interpreter'
+ - template: azure-pipelines-templates/publish-bintray.yml
+
#######################
# generate change log
- job: Generate_change_log
