forked from KirillOsenkov/RoslynQuoter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.vsts-ci.yml
52 lines (42 loc) · 1.49 KB
/
.vsts-ci.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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
jobs:
- job: VS_Latest
pool:
vmImage: 'ubuntu-latest'
steps:
- task: UseDotNet@2
displayName: 'Use .NET SDK'
inputs:
version: 9.0.100-rc.2.24474.11
includePreviewVersions: true
- task: nventiveCanaryUpdater@5
displayName: 'Canary Update'
condition: startsWith(variables['Build.SourceBranch'], 'refs/heads/canaries')
inputs:
solution: Quoter.sln
branchToMerge: uno
summaryFile: '$(Build.ArtifactStagingDirectory)/Canary.md'
resultFile: '$(Build.ArtifactStagingDirectory)/result.json'
nugetUpdaterVersion: 2.0.6
packageAuthor: nventive
- task: gitversion/setup@0
retryCountOnTaskFailure: 3
inputs:
versionSpec: '5.10.3'
- task: gitversion/execute@0
retryCountOnTaskFailure: 3
inputs:
updateAssemblyInfo: 'False'
useConfigFile: true
configFilePath: gitversion.yml
displayName: Use GitVersion
- script: |
dotnet publish -f net9.0-browserwasm $(build.sourcesdirectory)/src/uno/RoslynQuoter/RoslynQuoterApp.csproj "/p:InformationalVersion=$GITVERSION_INFORMATIONALVERSION"
env:
GITVERSION_FullSemVer: $(GITVERSION_FullSemVer)
displayName: 'Build'
- task: PublishBuildArtifacts@1
displayName: Publish Package Artifacts
inputs:
pathToPublish: $(build.sourcesdirectory)/src/uno/RoslynQuoter/bin/Release/net9.0-browserwasm/publish/wwwroot
artifactType: container
artifactName: RoslynQuoter-Wasm