Skip to content

Commit 559d8d1

Browse files
committed
add github release(nuget not)
1 parent a4a3267 commit 559d8d1

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

azure-pipelines.yml

+22
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,25 @@ stages:
6666
inputs:
6767
pathToPublish: "$(Build.ArtifactStagingDirectory)"
6868
artifactName: "dotnet-anv-$(rid)"
69+
- stage: Release
70+
condition: "startsWith(variables['Build.SourceBranch'], 'refs/tags/')"
71+
jobs:
72+
- job:
73+
displayName: "Github Release"
74+
pool:
75+
vmImage: 'ubuntu-latest'
76+
steps:
77+
- task: DownloadPipelineArtifact@2
78+
displayName: download win-x64
79+
inputs:
80+
artifact: dotnet-anv-win-x64
81+
path: "$(Build.ArtifactStagingDirectory)"
82+
- task: GitHubRelease@0
83+
displayName: "releasing github"
84+
inputs:
85+
gitHubConnection: "dotnet-ansible-vault-decoder"
86+
action: create
87+
target: "$(Build.SourceVersion)"
88+
assets: "$(Build.ArtifactStagingDirectory)/*"
89+
isDraft: true
90+

0 commit comments

Comments
 (0)