Skip to content

Commit ad9312d

Browse files
Install dotnet-script in CI for C# script tests
The CSX tests require the dotnet-script global tool to execute .csx files via `dotnet script`. Without it, all CSX tests fail with "command or file was not found" on the CI runner.
1 parent 07573bd commit ad9312d

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ jobs:
4747
with:
4848
dotnet-version: "10.0.x"
4949

50+
- name: Install dotnet-script
51+
run: dotnet tool install -g dotnet-script
52+
5053
- name: Build
5154
run: dotnet build --nologo
5255

0 commit comments

Comments
 (0)