Skip to content

Commit 55dc728

Browse files
committed
Pass dotnet version
1 parent 3992d6e commit 55dc728

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,16 @@ jobs:
3131
- name: Build
3232
run: dotnet build --configuration Release --no-restore
3333

34+
- name: Resolve Current .NET Version
35+
shell: pwsh
36+
run: |
37+
$dotNetVersion = dotnet --version
38+
"DOTNET_VERSION=$dotNetVersion" >> $env:GITHUB_ENV
39+
3440
- name: Install Playwright.NET
3541
uses: phil-scott-78/setup-playwright-dotnet@v0.1.0-alpha
3642
with:
43+
dotnet-version: ${{ env.DOTNET_VERSION }}
3744
with-deps: true
3845
browsers: 'all'
3946

0 commit comments

Comments
 (0)