-
Notifications
You must be signed in to change notification settings - Fork 80
Expand file tree
/
Copy pathazure-pipelines.yml
More file actions
35 lines (31 loc) · 922 Bytes
/
azure-pipelines.yml
File metadata and controls
35 lines (31 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
trigger:
- master
- develop
pool:
vmImage: 'ubuntu-22.04'
variables:
- group: ci-nuget-vars
steps:
- task: UseDotNet@2
inputs:
packageType: 'sdk'
version: '10.0.x'
- task: DotNetCoreCLI@2
inputs:
command: 'custom'
custom: 'tool'
arguments: 'update -g Cake.Tool --version 0.38.5'
- task: Bash@3
inputs:
targetType: 'inline'
script: 'dotnet-cake --Target="CI" --Configuration="Release" --ReleaseNuGetApiKey="$(NUGET_ORG_API_KEY)" --PreReleaseNuGetApiKey="$(GITHUB_API_KEY)"'
- task: DotNetCoreCLI@2
inputs:
command: 'push'
packagesToPush: './build/packages/*.nupkg'
nuGetFeedType: 'internal'
publishVstsFeed: '7ff8258b-dd3c-4007-9d06-7609742e93cf/f4e837d9-074e-4374-afa0-7366d34fe578'