Skip to content

Commit 4b3bf78

Browse files
committed
setup sdk before git versioning
1 parent cfb4b72 commit 4b3bf78

1 file changed

Lines changed: 5 additions & 27 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
- uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
20+
21+
- name: Setup dotnet
22+
uses: actions/setup-dotnet@v3
23+
with:
24+
dotnet-version: '9.0.x'
2025

2126
- name: Nerdbank.GitVersioning
2227
uses: dotnet/nbgv@master
@@ -38,15 +43,6 @@ jobs:
3843
needs: release
3944
runs-on: windows-latest
4045
steps:
41-
- uses: actions/checkout@v4
42-
with:
43-
fetch-depth: 0
44-
45-
- name: Setup dotnet
46-
uses: actions/setup-dotnet@v3
47-
with:
48-
dotnet-version: '9.0.x'
49-
5046
- name: Restore
5147
run: dotnet restore
5248

@@ -84,15 +80,6 @@ jobs:
8480
needs: release
8581
runs-on: ubuntu-latest
8682
steps:
87-
- uses: actions/checkout@v4
88-
with:
89-
fetch-depth: 0
90-
91-
- name: Setup dotnet
92-
uses: actions/setup-dotnet@v3
93-
with:
94-
dotnet-version: '9.0.x'
95-
9683
- name: Restore
9784
run: dotnet restore
9885

@@ -137,15 +124,6 @@ jobs:
137124
needs: release
138125
runs-on: macos-latest
139126
steps:
140-
- uses: actions/checkout@v4
141-
with:
142-
fetch-depth: 0
143-
144-
- name: Setup dotnet
145-
uses: actions/setup-dotnet@v3
146-
with:
147-
dotnet-version: '9.0.x'
148-
149127
- name: Restore
150128
run: dotnet restore
151129

0 commit comments

Comments
 (0)