Skip to content

Commit 33ab6ae

Browse files
committed
CI: test using .NET 5
resolves
1 parent 041cd14 commit 33ab6ae

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ jobs:
1818
steps:
1919
- name: 🛒 Checkout
2020
uses: actions/checkout@v2
21-
- name: ✨ Setup .NET 6
21+
- name: ✨ Setup .NET 5 # CI: do not increase this
2222
uses: actions/setup-dotnet@v1
2323
with:
24-
dotnet-version: "6.0.x"
24+
dotnet-version: "5.0.x"
2525
- name: 🚚 Restore
2626
run: dotnet restore
2727
- name: 🛠️ Build

.github/workflows/publish.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ jobs:
1616
steps:
1717
- name: 🛒 Checkout
1818
uses: actions/checkout@v2
19-
- name: ✨ Setup .NET 6
19+
- name: ✨ Setup .NET 5 # CI: keep this for building and testing
20+
uses: actions/setup-dotnet@v1
21+
with:
22+
dotnet-version: "5.0.x"
23+
- name: ✨ Setup .NET 6 # CI: keep this for packing
2024
uses: actions/setup-dotnet@v1
2125
with:
2226
dotnet-version: "6.0.x"

0 commit comments

Comments
 (0)