mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-12-22 19:25:42 +00:00
42 lines
1,008 B
YAML
42 lines
1,008 B
YAML
variables:
|
|
versionbase: 3.24.24
|
|
increment: $[counter(variables['versionbase'], 1)]
|
|
version: $(versionbase).$(increment)
|
|
|
|
trigger:
|
|
branches:
|
|
include:
|
|
- master
|
|
- develop
|
|
|
|
pool:
|
|
vmImage: 'ubuntu-latest'
|
|
|
|
steps:
|
|
- script: echo "##vso[build.updatebuildnumber]$(version)"
|
|
displayName: 'Set Build Number'
|
|
|
|
- script: ./build.sh --BuildTarget=FullBuild --BuildVersion=$(version)
|
|
displayName: 'CAKE Script'
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
displayName: Publish Binaries Artifact
|
|
inputs:
|
|
pathtoPublish: BuildOutput/Release
|
|
artifactName: Binaries
|
|
publishLocation: container
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
displayName: Publish NuGet Artifact
|
|
inputs:
|
|
pathtoPublish: BuildOutput/NugetPackages
|
|
artifactName: NuGet
|
|
publishLocation: container
|
|
|
|
- task: PublishBuildArtifacts@1
|
|
displayName: Publish Samples Artifact
|
|
inputs:
|
|
pathtoPublish: BuildOutput/Samples
|
|
artifactName: Samples
|
|
publishLocation: container
|