Skip to content

Commit fdecb4b

Browse files
committed
cli: 更新github action配置
1 parent e8e9257 commit fdecb4b

2 files changed

Lines changed: 14 additions & 26 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -15,22 +15,18 @@ jobs:
1515
uses: actions/checkout@v2
1616
with:
1717
fetch-depth: 0
18-
- name: Setup dotnet6.0
19-
uses: actions/setup-dotnet@v1
20-
with:
21-
dotnet-version: 6.0.x
22-
- name: Setup dotnet7.0
23-
uses: actions/setup-dotnet@v1
24-
with:
25-
dotnet-version: 7.0.x
2618
- name: Setup dotnet8.0
2719
uses: actions/setup-dotnet@v1
2820
with:
2921
dotnet-version: 8.0.x
3022
- name: Setup dotnet9.0
3123
uses: actions/setup-dotnet@v1
3224
with:
33-
dotnet-version: 9.0.x
25+
dotnet-version: 9.0.x
26+
- name: Setup dotnet10.0
27+
uses: actions/setup-dotnet@v1
28+
with:
29+
dotnet-version: 10.0.x
3430
- name: Linux Build
3531
run: |
3632
dotnet build ./src/OSharp.Utils/OSharp.Utils.csproj
@@ -60,22 +56,18 @@ jobs:
6056
runs-on: windows-latest
6157
steps:
6258
- uses: actions/checkout@v2
63-
- name: Setup dotnet6.0
64-
uses: actions/setup-dotnet@v1
65-
with:
66-
dotnet-version: 6.0.x
67-
- name: Setup dotnet7.0
68-
uses: actions/setup-dotnet@v1
69-
with:
70-
dotnet-version: 7.0.x
7159
- name: Setup dotnet8.0
7260
uses: actions/setup-dotnet@v1
7361
with:
7462
dotnet-version: 8.0.x
7563
- name: Setup dotnet9.0
7664
uses: actions/setup-dotnet@v1
7765
with:
78-
dotnet-version: 9.0.x
66+
dotnet-version: 9.0.x
67+
- name: Setup dotnet10.0
68+
uses: actions/setup-dotnet@v1
69+
with:
70+
dotnet-version: 10.0.x
7971
- name: Windows Build
8072
run: |
8173
dotnet build ./src/OSharp.Wpf/OSharp.Wpf.csproj

.github/workflows/nuget.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,6 @@ jobs:
1515
runs-on: windows-latest
1616
steps:
1717
- uses: actions/checkout@v2
18-
- name: Setup dotnet6.0
19-
uses: actions/setup-dotnet@v1
20-
with:
21-
dotnet-version: 6.0.x
22-
- name: Setup dotnet7.0
23-
uses: actions/setup-dotnet@v1
24-
with:
25-
dotnet-version: 7.0.x
2618
- name: Setup dotnet8.0
2719
uses: actions/setup-dotnet@v1
2820
with:
@@ -31,6 +23,10 @@ jobs:
3123
uses: actions/setup-dotnet@v1
3224
with:
3325
dotnet-version: 9.0.x
26+
- name: Setup dotnet10.0
27+
uses: actions/setup-dotnet@v1
28+
with:
29+
dotnet-version: 10.0.x
3430
- name: Restore
3531
run: dotnet restore
3632
- name: Build and Pack

0 commit comments

Comments
 (0)