Skip to content

Commit

Permalink
Azure Pipeline: Specifying OS in the pool definition (#388)
Browse files Browse the repository at this point in the history
* Specifying OS in the pool definition.

* Removing more quotes.
  • Loading branch information
mijpeterson authored Jun 6, 2024
1 parent 5234a3f commit 85a5a6f
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/release-azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ extends:
pool:
name: Azure-Pipelines-1ESPT-ExDShared
image: ubuntu-latest
os: linux
displayName: Validate
steps:
- checkout: self
Expand All @@ -47,19 +48,23 @@ extends:
matrix:
x64-windows:
poolName: Azure-Pipelines-1ESPT-ExDShared
image: 'windows-latest'
runtime: 'win10-x64'
image: windows-latest
os: windows
runtime: win10-x64
x64-mac:
poolName: Azure Pipelines
image: 'macOS-latest'
runtime: 'osx-x64'
image: macOS-latest
os: macOS
runtime: osx-x64
arm-mac:
poolName: Azure Pipelines
image: 'macOS-latest'
runtime: 'osx-arm64'
image: macOS-latest
os: macOS
runtime: osx-arm64
pool:
name: $(poolName)
image: $(image)
os: $(os)
displayName: Build
steps:
- checkout: self
Expand All @@ -80,7 +85,7 @@ extends:
feedsToUse: select
vstsFeed: $(vstsFeedId)
includeNuGetOrg: false
arguments: '--runtime $(runtime)'
arguments: --runtime $(runtime)

- task: DotNetCoreCLI@2
displayName: Test
Expand All @@ -92,8 +97,8 @@ extends:
displayName: Build artifacts
inputs:
command: publish
projects: 'src/AzureAuth/AzureAuth.csproj'
arguments: '-p:Version=$(version) --configuration release --self-contained true --runtime $(runtime) --output dist/$(runtime)'
projects: src/AzureAuth/AzureAuth.csproj
arguments: -p:Version=$(version) --configuration release --self-contained true --runtime $(runtime) --output dist/$(runtime)

templateContext:
outputs:
Expand Down

0 comments on commit 85a5a6f

Please sign in to comment.