Skip to content

Commit 5d5cafc

Browse files
committed
🏗️ gh-actions: use actions/setup-dotnet
1 parent 0af170c commit 5d5cafc

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
steps:
2828
- uses: actions/checkout@v4
2929

30+
- name: Setup dotnet
31+
uses: actions/setup-dotnet@v4
32+
with:
33+
dotnet-version: '9'
34+
3035
- name: Restore dependencies
3136
run: dotnet restore
3237

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ jobs:
2020
steps:
2121
- uses: actions/checkout@v4
2222

23+
- name: Setup dotnet
24+
uses: actions/setup-dotnet@v4
25+
with:
26+
dotnet-version: '9'
27+
2328
- name: Restore dependencies
2429
run: dotnet restore
2530

0 commit comments

Comments
 (0)