Skip to content

Commit 756ff7a

Browse files
authored
Merge pull request #938 from microsoftgraph/chore/release-pipeline-compliance
chore: Classify release job to comply with 1ES standard
2 parents b244a14 + 990731b commit 756ff7a

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

pipelines/ci-build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,13 @@ extends:
257257
dependsOn: build
258258
jobs:
259259
- deployment: deploy_nuget
260+
templateContext:
261+
type: releaseJob
262+
isProduction: true
263+
inputs:
264+
- input: pipelineArtifact
265+
artifactName: ReadyForReleasePipeline
266+
targetPath: $(Pipeline.Workspace)
260267
pool:
261268
name: Azure-Pipelines-1ESPT-ExDShared
262269
os: windows
@@ -272,11 +279,6 @@ extends:
272279
inputs:
273280
versionSpec: '>=5.2.0'
274281
checkLatest: true
275-
- task: DownloadPipelineArtifact@2
276-
displayName: Download nupkg from artifacts
277-
inputs:
278-
artifact: ReadyForReleasePipeline
279-
source: current
280282
- task: PowerShell@2
281283
displayName: 'Get Latest Commit SHA from repo'
282284
inputs:

0 commit comments

Comments
 (0)