diff options
author | Jay Berkenbilt <ejb@ql.org> | 2018-10-11 23:02:34 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2018-10-11 23:27:54 +0200 |
commit | 4cd1a8f0db22d616db12aadf9424b0d1c624c69c (patch) | |
tree | 5a3e8261ad49a058b326390d97b3bbac5e423869 /azure-pipelines.yml | |
parent | aa864d214249bc16b93a56dbdc1cac91fa276a46 (diff) | |
download | qpdf-4cd1a8f0db22d616db12aadf9424b0d1c624c69c.tar.zst |
Azure pipelines: no artifact upload/download from forks
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r-- | azure-pipelines.yml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index c5d8d5ba..16a79fb6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -10,6 +10,7 @@ jobs: pathtoPublish: '$(System.DefaultWorkingDirectory)/distfiles.zip' artifactName: distfiles displayName: 'Upload extra distribution files' + condition: eq(variables['System.PullRequest.IsFork'], 'False') - job: Windows pool: vmImage: vs2017-win2016 @@ -38,6 +39,7 @@ jobs: inputs: artifactName: distfiles downloadPath: $(System.DefaultWorkingDirectory) + condition: eq(variables['System.PullRequest.IsFork'], 'False') - script: azure-pipelines/build-windows.bat $(wordsize) $(tool) displayName: 'Build, test, generate binary distributions' - task: PublishBuildArtifacts@1 @@ -45,6 +47,7 @@ jobs: pathtoPublish: '$(System.DefaultWorkingDirectory)/installers' artifactName: installers displayName: 'Upload binary distributions' + condition: eq(variables['System.PullRequest.IsFork'], 'False') dependsOn: Linux condition: succeeded() - job: macOS @@ -56,6 +59,7 @@ jobs: inputs: artifactName: distfiles downloadPath: $(System.DefaultWorkingDirectory) + condition: eq(variables['System.PullRequest.IsFork'], 'False') - script: azure-pipelines/build-mac displayName: 'Mac build and test' dependsOn: Linux |