Skip to content

Commit 6d03746

Browse files
committed
pin .net sdk in workflow
1 parent 6e28de1 commit 6d03746

4 files changed

Lines changed: 16 additions & 8 deletions

File tree

.github/workflows/linux-build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
- name: Install libgts
2222
run: sudo apt-get update && sudo apt-get install -y libgts-0.7-5
2323

24-
- name: Setup .NET
25-
uses: actions/setup-dotnet@v3
24+
- name: Setup .NET SDK
25+
uses: actions/setup-dotnet@v4
2626
with:
27-
dotnet-version: 8.0.x
27+
dotnet-version: '8.0.x'
2828

2929
- name: Setup Just
3030
uses: extractions/setup-just@v3

.github/workflows/nuget.org-linux.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ jobs:
2222
- name: Install libgts
2323
run: sudo apt-get update && sudo apt-get install -y libgts-0.7-5
2424

25-
- name: Setup .NET
26-
uses: actions/setup-dotnet@v3
25+
- name: Setup .NET SDK
26+
uses: actions/setup-dotnet@v4
2727
with:
28-
dotnet-version: 8.0.x
28+
dotnet-version: '8.0.x'
2929

3030
- name: Setup Just
3131
uses: extractions/setup-just@v3

.github/workflows/nuget.org-windows.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919

20+
- name: Setup .NET SDK
21+
uses: actions/setup-dotnet@v4
22+
with:
23+
dotnet-version: '8.0.x'
24+
2025
- name: Add msbuild to PATH
2126
uses: microsoft/setup-msbuild@v1.0.2
2227

.github/workflows/win-build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# This is a basic workflow to help you get started with Actions
2-
31
name: win-build
42

53
# Controls when the action will run. Triggers the workflow on push or pull request
@@ -21,6 +19,11 @@ jobs:
2119
with:
2220
fetch-depth: 0
2321

22+
- name: Setup .NET SDK
23+
uses: actions/setup-dotnet@v4
24+
with:
25+
dotnet-version: '8.0.x'
26+
2427
- name: Add msbuild to PATH
2528
uses: microsoft/setup-msbuild@v1.0.2
2629

0 commit comments

Comments
 (0)