Skip to content

Commit 4c4f95d

Browse files
committed
CICS: build and test with .NET 8
1 parent a99863d commit 4c4f95d

File tree

1 file changed

+8
-15
lines changed

1 file changed

+8
-15
lines changed

.github/workflows/ci.yaml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,24 @@ jobs:
1717
runs-on: windows-latest
1818
steps:
1919
- name: 🛒 Checkout
20-
uses: actions/checkout@v2
21-
22-
- name: ✨ Setup .NET 6
23-
uses: actions/setup-dotnet@v1
20+
uses: actions/checkout@v4
21+
- name: ✨ Setup .NET 8
22+
uses: actions/setup-dotnet@v4
2423
with:
25-
dotnet-version: "6.0.x"
26-
24+
dotnet-version: "8.0.x"
2725
- name: 🚚 Restore
2826
run: dotnet restore src
29-
3027
- name: 🛠️ Build
31-
run: dotnet build src --configuration Release --no-restore
32-
28+
run: dotnet build src --configuration Release
3329
- name: 🧪 Test
34-
run: dotnet test src --configuration Release --no-build
35-
30+
run: dotnet test src --configuration Release
3631
- name: 📦 Pack
37-
run: dotnet pack src --configuration Release --no-build
38-
32+
run: dotnet pack src --configuration Release
3933
- name: 🔑 Configure Secrets
4034
if: github.event_name == 'release'
4135
uses: nuget/setup-nuget@v1
4236
with:
4337
nuget-api-key: ${{ secrets.NUGET_API_KEY }}
44-
45-
- name: 🚀 Deploy Package
38+
- name: 🚀 Deploy NuGet Package
4639
if: github.event_name == 'release'
4740
run: nuget push "src\Spectrogram\bin\Release\*.nupkg" -SkipDuplicate -Source https://api.nuget.org/v3/index.json

0 commit comments

Comments
 (0)