Skip to content

Commit 6f63d1e

Browse files
Fix UI tests in CI
Add workaround for Playwright to use .NET 6 until it's natively supported.
1 parent 3fbf915 commit 6f63d1e

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
pull_request:
77
branches: [ main ]
88

9+
env:
10+
DOTNET_ROLL_FORWARD: Major # HACK Remove once Playwright supports .NET 6
11+
912
jobs:
1013
build:
1114
name: ${{ matrix.os }}

build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if ($OutputPath -eq "") {
2525
$installDotNetSdk = $false;
2626

2727
if (($null -eq (Get-Command "dotnet" -ErrorAction SilentlyContinue)) -and ($null -eq (Get-Command "dotnet.exe" -ErrorAction SilentlyContinue))) {
28-
Write-Host "The .NET Core SDK is not installed."
28+
Write-Host "The .NET SDK is not installed."
2929
$installDotNetSdk = $true
3030
}
3131
else {
@@ -37,7 +37,7 @@ else {
3737
}
3838

3939
if ($installedDotNetVersion -ne $dotnetVersion) {
40-
Write-Host "The required version of the .NET Core SDK is not installed. Expected $dotnetVersion."
40+
Write-Host "The required version of the .NET SDK is not installed. Expected $dotnetVersion."
4141
$installDotNetSdk = $true
4242
}
4343
}

0 commit comments

Comments
 (0)