-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
azure-pipelines.yml
24 lines (21 loc) · 1012 Bytes
/
azure-pipelines.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# ASP.NET Core (.NET Framework)
# Build and test ASP.NET Core projects targeting the full .NET Framework.
# Add steps that publish symbols, save build artifacts, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/dotnet-core
trigger:
batch: true
pool:
vmImage: "ubuntu-latest"
steps:
- script: |
dotnet publish $(System.DefaultWorkingDirectory)/Sheaft.Identity/Sheaft.Identity.csproj -c Release --output publish_output/Sheaft.Identity/release/
- task: ArchiveFiles@2
displayName: "Archive files"
inputs:
rootFolderOrFile: "$(System.DefaultWorkingDirectory)/publish_output/Sheaft.Identity/release"
includeRootFolder: false
archiveFile: "$(System.DefaultWorkingDirectory)/publish_output/Sheaft.Identity/build$(Build.BuildId).zip"
- task: PublishBuildArtifacts@1
inputs:
PathtoPublish: '$(System.DefaultWorkingDirectory)/publish_output/Sheaft.Identity/build$(Build.BuildId).zip'
artifactName: 'sheaft-identity'