Skip to content

Commit 6d5e3c3

Browse files
committed
fix: github actions
1 parent dc91acd commit 6d5e3c3

File tree

2 files changed

+25
-7
lines changed

2 files changed

+25
-7
lines changed

.github/workflows/publish.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,20 @@ jobs:
1818
- name: Checkout repository
1919
uses: actions/checkout@v3
2020

21-
- name: Setup .NET 7
21+
- name: Setup .NET 8
2222
uses: actions/setup-dotnet@v3
2323
with:
24-
dotnet-version: 7.0.x
24+
dotnet-version: 8.0.x
25+
26+
- name: Setup .NET 9
27+
uses: actions/setup-dotnet@v3
28+
with:
29+
dotnet-version: 9.0.x
30+
31+
- name: Setup .NET 10
32+
uses: actions/setup-dotnet@v3
33+
with:
34+
dotnet-version: 10.0.x
2535

2636
- name: Restore dependencies
2737
run: dotnet restore
@@ -31,12 +41,10 @@ jobs:
3141

3242
- name: Semantic Release
3343
id: semantic
34-
uses: cycjimmy/semantic-release-action@v2
44+
uses: cycjimmy/semantic-release-action@v4
3545
with:
36-
semantic_version: 18.0.1
3746
extra_plugins: |
3847
@semantic-release/changelog
39-
@semantic-release/github
4048
@semantic-release/git
4149
env:
4250
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/pull-request.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,20 @@ jobs:
1414
- name: Checkout repository
1515
uses: actions/checkout@v3
1616

17-
- name: Setup .NET 7
17+
- name: Setup .NET 8
1818
uses: actions/setup-dotnet@v3
1919
with:
20-
dotnet-version: 7.0.x
20+
dotnet-version: 8.0.x
21+
22+
- name: Setup .NET 9
23+
uses: actions/setup-dotnet@v3
24+
with:
25+
dotnet-version: 9.0.x
26+
27+
- name: Setup .NET 10
28+
uses: actions/setup-dotnet@v3
29+
with:
30+
dotnet-version: 10.0.x
2131

2232
- name: Restore dependencies
2333
run: dotnet restore

0 commit comments

Comments
 (0)