Updated workflow, widened support, now including Net 8, 9 and 10
Some checks failed
Nuget Pkg Build / build (push) Failing after 58s

This commit is contained in:
Samuele Lorefice
2025-09-22 02:26:07 +02:00
parent 16d0142967
commit d0ccdbfa0f
4 changed files with 10 additions and 7 deletions

View File

@@ -11,11 +11,14 @@ jobs:
timeout-minutes: 5 timeout-minutes: 5
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
- name: Setup .NET SDK - name: Setup .NET SDK
uses: actions/setup-dotnet@v4 uses: actions/setup-dotnet@v5
with: with:
dotnet-version: 9.x dotnet-version: |
10.x
9.x
8.x
- name: Build - name: Build
run: dotnet build Syrette -c Release run: dotnet build Syrette -c Release
#- name: Test #- name: Test

View File

@@ -39,7 +39,7 @@ class GuidDependantService {
} }
public void LogWithId(string message) { public void LogWithId(string message) {
logService.Log($"[GuidDependantService] {message} (ID: {guidService.Id})"); logService.Log($"[GuidDependantService] {message} (ID: {guidService?.Id})");
} }
} }

View File

@@ -23,7 +23,7 @@
<Company>Samuele Lorefice</Company> <Company>Samuele Lorefice</Company>
<Deterministic>true</Deterministic> <Deterministic>true</Deterministic>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> <GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<TargetFrameworks>net9.0;net8.0</TargetFrameworks> <TargetFrameworks>net8.0;net9.0;net10.0</TargetFrameworks>
<EmbedUntrackedSources>true</EmbedUntrackedSources> <EmbedUntrackedSources>true</EmbedUntrackedSources>
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
</PropertyGroup> </PropertyGroup>

View File

@@ -1,7 +1,7 @@
{ {
"sdk": { "sdk": {
"version": "9.0.0", "version": "10.0.0",
"rollForward": "latestMinor", "rollForward": "latestMinor",
"allowPrerelease": false "allowPrerelease": true
} }
} }