Skip to content

Commit 9160cfc

Browse files
committed
fix: github action
1 parent 38e9b9f commit 9160cfc

2 files changed

Lines changed: 19 additions & 11 deletions

File tree

.github/workflows/publish-package.yml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,24 +15,27 @@ jobs:
1515
- name: Checkout repository
1616
uses: actions/checkout@v3
1717

18-
- name: Setup .NET 6
18+
- name: Setup .NET 8
1919
uses: actions/setup-dotnet@v3
2020
with:
21-
dotnet-version: 6.0.x
21+
dotnet-version: 8.0.x
2222

23-
- name: Setup .NET 7
23+
- name: Setup .NET 9
2424
uses: actions/setup-dotnet@v3
2525
with:
26-
dotnet-version: 7.0.x
26+
dotnet-version: 9.0.x
27+
28+
- name: Setup .NET 10
29+
uses: actions/setup-dotnet@v3
30+
with:
31+
dotnet-version: 10.0.x
2732

2833
- name: Semantic Release
2934
id: semantic
30-
uses: cycjimmy/semantic-release-action@v2
35+
uses: cycjimmy/semantic-release-action@v4
3136
with:
32-
semantic_version: 18.0.1
3337
extra_plugins: |
3438
@semantic-release/changelog
35-
@semantic-release/github
3639
@semantic-release/git
3740
env:
3841
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pull-request.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,20 @@ jobs:
1212
- name: Checkout repository
1313
uses: actions/checkout@v3
1414

15-
- name: Setup .NET 6
15+
- name: Setup .NET 8
1616
uses: actions/setup-dotnet@v3
1717
with:
18-
dotnet-version: 6.0.x
18+
dotnet-version: 8.0.x
1919

20-
- name: Setup .NET 7
20+
- name: Setup .NET 9
2121
uses: actions/setup-dotnet@v3
2222
with:
23-
dotnet-version: 7.0.x
23+
dotnet-version: 9.0.x
24+
25+
- name: Setup .NET 10
26+
uses: actions/setup-dotnet@v3
27+
with:
28+
dotnet-version: 10.0.x
2429

2530
- name: Restore dependencies
2631
run: dotnet restore

0 commit comments

Comments
 (0)