Skip to content

Commit

Permalink
Merge pull request #946 from microsoftgraph/chore/release-pipeline-la…
Browse files Browse the repository at this point in the history
…bels

chore: Label release job in pipeline to comply with 1ES
  • Loading branch information
baywet authored Nov 29, 2024
2 parents 49d8caa + 93e3cf2 commit 7afe7f9
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions pipelines/productionBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ extends:
pwsh: true
enabled: true
- powershell: |
dotnet workload install android macos ios maccatalyst
dotnet workload install android macos ios maccatalyst
displayName: 'Install needed dotnet workloads'
- task: DotNetCoreCLI@2
displayName: 'dotnet restore'
Expand Down Expand Up @@ -243,6 +243,13 @@ extends:
dependsOn: build
jobs:
- deployment: deploy_nuget
templateContext:
type: releaseJob
isProduction: true
inputs:
- input: pipelineArtifact
artifactName: ProductionReleaseArtifact
targetPath: $(Pipeline.Workspace)
pool:
name: Azure-Pipelines-1ESPT-ExDShared
os: windows
Expand All @@ -258,11 +265,6 @@ extends:
inputs:
versionSpec: '>=5.2.0'
checkLatest: true
- task: DownloadPipelineArtifact@2
displayName: Download nupkg from artifacts
inputs:
artifact: ProductionReleaseArtifact
source: current
- task: PowerShell@2
displayName: 'Get Latest Commit SHA from repo'
inputs:
Expand Down Expand Up @@ -297,4 +299,4 @@ extends:
assetUploadMode: replace
assets: |
!**/**
$(Pipeline.Workspace)/Microsoft.Graph.Core.*.*nupkg
$(Pipeline.Workspace)/Microsoft.Graph.Core.*.*nupkg

0 comments on commit 7afe7f9

Please sign in to comment.