Skip to content

Commit

Permalink
Create azure-pipelines-rc.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jzebedee authored Mar 3, 2019
1 parent 551005c commit 75f45f2
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions azure-pipelines-rc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
pool:
vmImage: 'Ubuntu 16.04'

variables:
buildConfiguration: 'Release'

steps:
- task: DotNetCoreInstaller@0
displayName: 'Install .NET Core SDK 3.0.100-preview-010184'
inputs:
version: 3.0.100-preview-010184
- script: |
dotnet build src/LibCK2 --configuration $(buildConfiguration)
dotnet pack src/LibCK2 --configuration $(buildConfiguration) --no-build --output $BUILD_ARTIFACTSTAGINGDIRECTORY/package
dotnet publish src/LibCK2 --configuration $(buildConfiguration) --no-build --output $BUILD_ARTIFACTSTAGINGDIRECTORY
- task: PublishBuildArtifacts@1
inputs:
pathtoPublish: $(Build.ArtifactStagingDirectory)
ArtifactName: 'pub'

0 comments on commit 75f45f2

Please sign in to comment.