Skip to content

Commit a2f300e

Browse files
Fix: use dotnet tool run for Playwright install in GitHub Actions
1 parent db7bd0e commit a2f300e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dotnet-playwright.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: dotnet build --configuration Release --no-restore
2727

2828
- name: Install Playwright browsers for .NET
29-
run: pwsh bin/Debug/net8.0/playwright.ps1 install --with-deps
29+
run: pwsh -Command "dotnet tool run playwright install --with-deps"
3030

3131
- name: Run Playwright Tests
3232
run: dotnet test --configuration Release --logger "trx;LogFileName=test_results.trx"

0 commit comments

Comments
 (0)