Skip to content

Commit

Permalink
ci: updated build order
Browse files Browse the repository at this point in the history
  • Loading branch information
ptr1120 committed Sep 25, 2023
1 parent b47c248 commit 68ac420
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .nuke/build.schema.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Build Schema",
"$ref": "#/definitions/build",
"title": "Build Schema",
"definitions": {
"build": {
"type": "object",
Expand Down Expand Up @@ -131,4 +131,4 @@
}
}
}
}
}
30 changes: 16 additions & 14 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,7 @@ stages:
inputs:
artifactName: nupkg
pathtoPublish: '.artifacts/nupkg'
- job: InstallTool
displayName: 'InstallTool'
dependsOn: [ PackNuget ]
steps:
- template: azure-templates/jdk.yml
- task: DownloadBuildArtifacts@0
displayName: Download Nuget artifacts
inputs:
artifactName: 'nupkg'
downloadPath: $(Build.SourcesDirectory)/.artifacts
- task: CmdLine@2
inputs:
script: './build.cmd InstallTool --skip'

- job: PublishNuget
displayName: 'PublishNuget'
dependsOn: [ InstallTool ]
Expand All @@ -59,4 +47,18 @@ stages:
downloadPath: $(Build.SourcesDirectory)/.artifacts
- task: CmdLine@2
inputs:
script: './build.cmd PublishNuget --nuget-api-key $(NugetApiKey) --skip'
script: './build.cmd PublishNuget --nuget-api-key $(NugetApiKey) --skip'

- job: InstallTool
displayName: 'InstallTool'
dependsOn: [ PackNuget ]
steps:
- template: azure-templates/jdk.yml
- task: DownloadBuildArtifacts@0
displayName: Download Nuget artifacts
inputs:
artifactName: 'nupkg'
downloadPath: $(Build.SourcesDirectory)/.artifacts
- task: CmdLine@2
inputs:
script: './build.cmd InstallTool --skip'

0 comments on commit 68ac420

Please sign in to comment.