Skip to content

Commit 0dabd66

Browse files
Update github workflows to use .net 6
1 parent c3a41cc commit 0dabd66

File tree

4 files changed

+10
-9
lines changed

4 files changed

+10
-9
lines changed

.github/workflows/build-artifacts-code.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v2
2020

21-
- name: Setup .NET 5.0 SDK
22-
uses: actions/setup-dotnet@v1
21+
- name: Setup .NET
22+
uses: actions/setup-dotnet@v2
2323
with:
24-
dotnet-version: 5.0.x
24+
dotnet-version: 6.0.x
2525
source-url: https://nuget.pkg.github.com/notion-dotnet/index.json
2626
env:
2727
NUGET_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/ci-build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ jobs:
1212

1313
steps:
1414
- uses: actions/checkout@v2
15+
1516
- name: Setup .NET
16-
uses: actions/setup-dotnet@v1
17+
uses: actions/setup-dotnet@v2
1718
with:
18-
dotnet-version: 5.0.x
19+
dotnet-version: 6.0.x
1920

2021
- name: Restore dependencies
2122
run: dotnet restore

.github/workflows/publish-code.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
- uses: actions/checkout@v2
1313

1414
- name: Setup .NET
15-
uses: actions/setup-dotnet@v1
15+
uses: actions/setup-dotnet@v2
1616
with:
17-
dotnet-version: 5.0.x
17+
dotnet-version: 6.0.x
1818
source-url: https://api.nuget.org/v3/index.json
1919
env:
2020
NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}}

.github/workflows/test-publish-code.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
- uses: actions/checkout@v2
1616

1717
- name: Setup .NET
18-
uses: actions/setup-dotnet@v1
18+
uses: actions/setup-dotnet@v2
1919
with:
20-
dotnet-version: 5.0.x
20+
dotnet-version: 6.0.x
2121
source-url: https://api.nuget.org/v3/index.json
2222
env:
2323
NUGET_AUTH_TOKEN: ${{secrets.NUGET_API_KEY}}

0 commit comments

Comments
 (0)