diff --git a/.github/workflows/aspnetcore.yml b/.github/workflows/aspnetcore.yml index eb19bb993..6191b3761 100644 --- a/.github/workflows/aspnetcore.yml +++ b/.github/workflows/aspnetcore.yml @@ -16,7 +16,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: 10.0.x + dotnet-version: 10.0.301 - name: Restore run: dotnet restore ./GrandNode.sln - name: Build with dotnet diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 458655b21..008ff0133 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: 10.0.x + dotnet-version: 10.0.301 - name: Cache SonarQube Cloud packages uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 with: diff --git a/.github/workflows/copilot-setup-steps.yml b/.github/workflows/copilot-setup-steps.yml index 7e83529a6..b07719c68 100644 --- a/.github/workflows/copilot-setup-steps.yml +++ b/.github/workflows/copilot-setup-steps.yml @@ -24,4 +24,4 @@ jobs: - name: Setup .NET 10 SDK uses: actions/setup-dotnet@v3 with: - dotnet-version: '10.0.x' + dotnet-version: '10.0.301' diff --git a/.github/workflows/grandnode.yml b/.github/workflows/grandnode.yml index a24b1c6ea..5309c8f69 100644 --- a/.github/workflows/grandnode.yml +++ b/.github/workflows/grandnode.yml @@ -17,7 +17,7 @@ jobs: - name: Setup .NET Core uses: actions/setup-dotnet@v4 with: - dotnet-version: 10.0.x + dotnet-version: 10.0.301 - name: Create mongoDB Docker container run: sudo docker run -d -p 27017:27017 mongo:latest - name: Wait for MongoDB to be ready diff --git a/Dockerfile b/Dockerfile index e2f11fe3f..92e51d43e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build stage -FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build-env +FROM mcr.microsoft.com/dotnet/sdk:10.0.301 AS build-env LABEL stage=build-env WORKDIR /app diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 08e5f997e..6bdf32621 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -51,7 +51,7 @@ steps: - task: UseDotNet@2 displayName: 'Install .NET Core SDK 10' inputs: - version: '10.0.x' + version: '10.0.301' # Replaced NuGet tasks with dotnet CLI commands to fix Ubuntu 24.04 compatibility - task: DotNetCoreCLI@2 diff --git a/global.json b/global.json index f72210cac..fc61c41b6 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "10.0.100", - "rollForward": "latestFeature" + "version": "10.0.301", + "rollForward": "latestPatch" } } \ No newline at end of file diff --git a/src/Build/Grand.Plugin.props b/src/Build/Grand.Plugin.props index d0ff5d048..d66712afb 100644 --- a/src/Build/Grand.Plugin.props +++ b/src/Build/Grand.Plugin.props @@ -43,8 +43,8 @@ - - + +