diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 29b4771..b130dfc 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -24,10 +24,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: | - 8.0.x - 9.0.x - 10.0.x + dotnet-version: 10.0.x - name: Cache NuGet packages uses: actions/cache@v4 @@ -96,10 +93,7 @@ jobs: - name: Setup .NET uses: actions/setup-dotnet@v4 with: - dotnet-version: | - 8.0.x - 9.0.x - 10.0.x + dotnet-version: 10.0.x - name: Pack run: dotnet pack CentralConfigGenerator/CentralConfigGenerator.csproj -c Release -o ./artifacts diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 778d535..4b4dc1f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,14 +25,10 @@ jobs: with: fetch-depth: 0 - # The tool multi-targets net8.0/net9.0/net10.0, so every SDK has to be present. + # The .NET 10 SDK builds every framework the tool targets, so one SDK is enough. - uses: actions/setup-dotnet@v4 with: - global-json-file: global.json - dotnet-version: | - 8.0.x - 9.0.x - 10.0.x + dotnet-version: 10.0.x - name: Resolve version id: version diff --git a/README.md b/README.md index 2700a02..e9e93dd 100644 --- a/README.md +++ b/README.md @@ -395,7 +395,7 @@ Key types: `MigrationService`, `AnalysisEngine`, `AutoFixService`, `Verification ## Contributing -See [CONTRIBUTING.md](CONTRIBUTING.md). Build and test with: +See [CONTRIBUTING.md](CONTRIBUTING.md). Building the repository needs the .NET 10 SDK — it compiles all three target frameworks, so it is the only one you have to install. ```bash dotnet build diff --git a/global.json b/global.json index 3c5cf51..6a28850 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.0", + "version": "10.0.100", "rollForward": "latestMajor", "allowPrerelease": false }