Skip to content

Commit 6c8cfa0

Browse files
committed
尝试修复构建
1 parent 2b20b0a commit 6c8cfa0

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

.github/workflows/dotnet-build.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v1
1212

13+
- name: Setup .NET
14+
uses: actions/setup-dotnet@v1
15+
with:
16+
dotnet-version: |
17+
3.1.x
18+
5.0.x
19+
6.0.x
20+
7.0.x
21+
1322
- name: Build with dotnet
1423
run: dotnet build --configuration Release
1524

.github/workflows/nuget-tag-publish.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,16 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v1
15-
15+
16+
- name: Setup .NET
17+
uses: actions/setup-dotnet@v1
18+
with:
19+
dotnet-version: |
20+
3.1.x
21+
5.0.x
22+
6.0.x
23+
7.0.x
24+
1625
- name: Install dotnet tool
1726
run: dotnet tool install -g dotnetCampus.TagToVersion
1827

0 commit comments

Comments
 (0)