Disable source-build tarball build in CI (#13351)
This commit is contained in:
parent
4d001c3b75
commit
ad22b53f36
1 changed files with 7 additions and 4 deletions
|
@ -80,9 +80,12 @@ jobs:
|
|||
# This prevents allocation of additional agents if the tarball build legs should be skipped.
|
||||
# Only build the tarball if the PR touches source-build source.
|
||||
- script: |
|
||||
if curl "https://api.github.com/repos/dotnet/installer/pulls/$(System.PullRequest.PullRequestNumber)/files" | grep '"filename": "src/SourceBuild/*'
|
||||
then
|
||||
echo "##vso[task.setvariable variable=_includeTarballBuild;isoutput=true]true"
|
||||
fi
|
||||
# Temporarily disable tarball PR validation until source-build is supported in this channel.
|
||||
echo "##vso[task.setvariable variable=_includeTarballBuild;isoutput=true]false"
|
||||
|
||||
# if curl "https://api.github.com/repos/dotnet/installer/pulls/$(System.PullRequest.PullRequestNumber)/files" | grep '"filename": "src/SourceBuild/*'
|
||||
# then
|
||||
# echo "##vso[task.setvariable variable=_includeTarballBuild;isoutput=true]true"
|
||||
# fi
|
||||
displayName: Tarball Build Check
|
||||
name: Tarball_Build_Check
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue