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: Label release job in pipeline to comply with 1ES #946

Merged
merged 1 commit into from
Nov 29, 2024
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
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
Loading