Skip to content

Commit 3637ac3

Browse files
authored
Fix CI (#350)
* Add task to update nuget before use. * Changelog fragment for PR 350
1 parent 574312e commit 3637ac3

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

.azure-pipelines/shared/build_jobs.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,21 @@ jobs:
143143
path: $(System.DefaultWorkingDirectory)/openxr_loader
144144
artifact: openxr_loader_windows
145145

146+
# NuGet stuff
147+
# See:
148+
# https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/nuget?view=azure-devops
149+
# https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/package/nuget?view=azure-devops
150+
146151
- task: PowerShell@2
147152
displayName: Stage loader and headers for NuGet
148153
inputs:
149154
filePath: $(System.DefaultWorkingDirectory)/.azure-pipelines/nuget/stage_nuget.ps1
150155
arguments: $(System.DefaultWorkingDirectory)/openxr_loader `
151156
$(Build.SourcesDirectory)/specification/Makefile `
152157
$(System.DefaultWorkingDirectory)/openxr_loader_staging
158+
- task: NuGetToolInstaller@1
159+
inputs:
160+
versionSpec: ">=5.0.0"
153161
- task: NuGetCommand@2
154162
displayName: Package for NuGet
155163
inputs:
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix CI generation of NuGet packages.

0 commit comments

Comments
 (0)