Skip to content

Commit

Permalink
Merge pull request #4 from nventive/dev/cama/UpdateCI
Browse files Browse the repository at this point in the history
chore: add variable for pool
  • Loading branch information
carlh98 authored Nov 20, 2023
2 parents 86ba56a + 88b80ea commit 8d227e7
Showing 1 changed file with 4 additions and 2 deletions.
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

0 comments on commit 8d227e7

Please sign in to comment.