Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add variable for pool #4

Merged
merged 1 commit into from
Nov 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions build/azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ variables:
value: GooseAnalyzers.sln
- name: IsReleaseBranch # Should this branch name use the release stage
value: $[or(eq(variables['Build.SourceBranch'], 'refs/heads/main'), startsWith(variables['Build.SourceBranch'], 'refs/heads/feature/'), startsWith(variables['Build.SourceBranch'], 'refs/heads/release/'))]
- name: windowsHostedAgentImage
value: 'windows-2022'

stages:
- stage: Build
Expand All @@ -28,7 +30,7 @@ stages:
GeneratePackageOnBuild: true

pool:
vmImage : windows-2022
vmImage : $(windowsHostedAgentImage)

variables:
- name: PackageOutputPath # Path where nuget packages will be copied to.
Expand All @@ -47,7 +49,7 @@ stages:
- job: Publish_NuGet_External

pool:
vmImage : windows-2022
vmImage : $(windowsHostedAgentImage)

workspace:
clean: all # Cleanup the workspaca before starting
Expand Down