File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
src/PostSharp.Engineering.BuildTools/Resources Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ param(
1313 [string []]$BuildArgs # Arguments passed to `Build.ps1` within the container.
1414)
1515
16- # Require PowerShell 7.5 or higher (run with pwsh, not powershell )
17- if ($PSVersionTable.PSVersion -lt [Version ]' 7.5 ' )
16+ # Require PowerShell 7.4 or higher (the version installed on GitHub build agents )
17+ if ($PSVersionTable.PSVersion -lt [Version ]' 7.4 ' )
1818{
19- Write-Error " This script requires PowerShell 7.5 or higher (run with 'pwsh', not 'powershell'). Current version: $ ( $PSVersionTable.PSVersion ) "
19+ Write-Error " This script requires PowerShell 7.4 or higher (run with 'pwsh', not 'powershell'). Current version: $ ( $PSVersionTable.PSVersion ) "
2020 exit 1
2121}
2222
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ param(
1313 [string []]$BuildArgs # Arguments passed to `Build.ps1` within the container.
1414)
1515
16- # Require PowerShell 7.5 or higher (run with pwsh, not powershell )
17- if ($PSVersionTable.PSVersion -lt [Version ]' 7.5 ' )
16+ # Require PowerShell 7.4 or higher (the version installed on GitHub build agents )
17+ if ($PSVersionTable.PSVersion -lt [Version ]' 7.4 ' )
1818{
19- Write-Error " This script requires PowerShell 7.5 or higher (run with 'pwsh', not 'powershell'). Current version: $ ( $PSVersionTable.PSVersion ) "
19+ Write-Error " This script requires PowerShell 7.4 or higher (run with 'pwsh', not 'powershell'). Current version: $ ( $PSVersionTable.PSVersion ) "
2020 exit 1
2121}
2222
You can’t perform that action at this time.
0 commit comments