Tweak source-build tarball build logic to skip offline in PR

This commit is contained in:
MichaelSimons 2022-01-14 00:15:19 +00:00
parent d7821d002e
commit 51a0225f80

View file

@ -43,14 +43,13 @@ jobs:
_Container: ${{ parameters.centOS7Container }}
_ExcludeOmniSharpTests: true
_RunOnline: true
CentOS7-Offline:
_BootstrapPrep: true
_BuildArch: x64
_Container: ${{ parameters.centOS7Container }}
_ExcludeOmniSharpTests: true
_RunOnline: false
# Offline builds have prebuilts: https://github.com/dotnet/fsharp/issues/12499
${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
CentOS7-Offline:
_BootstrapPrep: true
_BuildArch: x64
_Container: ${{ parameters.centOS7Container }}
_ExcludeOmniSharpTests: true
_RunOnline: false
CentOS8-Offline:
_BootstrapPrep: true
_BuildArch: x64