Skip to content

Commit

Permalink
update azure-pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
Mnickii committed Apr 16, 2024
1 parent 352e7b0 commit e65011a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ extends:
- job: Three
displayName: "Publish artifacts"
dependsOn: One
condition: and(succeeded(), or(eq(variables['isMaster'], 'true'), eq(variables['isDev'], 'true')))
# condition: and(succeeded(), or(eq(variables['isMaster'], 'true'), eq(variables['isDev'], 'true')))
steps:
- task: NodeTool@0
inputs:
Expand Down Expand Up @@ -259,6 +259,14 @@ extends:
contents: node_modules
displayName: "Delete node_modules"

- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.ArtifactStagingDirectory)/build'
includeRootFolder: true
archiveType: 'zip'
archiveFile: '$(Build.ArtifactStagingDirectory)/build/graph-explorer.zip'
replaceExistingArchive: true

templateContext:
outputs:
- output: pipelineArtifact
Expand All @@ -274,3 +282,4 @@ extends:
parameters:
directory: 'microsoft-graph-explorer-v4'
repoName: ReleasePipelines
dependsOn: ['Three']

0 comments on commit e65011a

Please sign in to comment.