Work CD-CI
Revert changes from last commit.
steps:
- task: DotNetCoreCLI@2
- condition: eq(variables['System.PullRequest.PullRequestId'], '')
+ condition: ne(variables['system.pullrequest.isfork'], true)
displayName: Install NBGV tool
inputs:
command: custom
@@ -11,13 +11,13 @@ steps:
arguments: install --tool-path . nbgv
- script: nbgv cloud -a -c
- condition: eq(variables['System.PullRequest.PullRequestId'], '')
+ condition: ne(variables['system.pullrequest.isfork'], true)
displayName: Set build number
# Currently Azure pipelines won't let PRs from forks setting the build ID
- # so we need to come up with a version number to use for the build
+ # so we need to come up with a versiom number to use for the build
- task: PowerShell@2
- condition: ne(variables['System.PullRequest.PullRequestId'], '')
+ condition: eq(variables['system.pullrequest.isfork'], true)
displayName: Set temporary build number
inputs:
targetType: 'inline'
