Skip to content

Commit 52c93d0

Browse files
Upgrade .NET SDK from 9.0 to 10.0 in workflows and Dockerfile
1 parent 8f517ef commit 52c93d0

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

.github/workflows/aspnetcore.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- name: Setup .NET Core
1313
uses: actions/setup-dotnet@v4
1414
with:
15-
dotnet-version: 9.0.x
15+
dotnet-version: 10.0.x
1616
- name: Install .NET Aspire workload
1717
run: dotnet workload install aspire
1818
- name: Restore

.github/workflows/copilot-setup-steps.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
- name: Checkout code
2020
uses: actions/checkout@v4
2121
with:
22-
lfs: true # jeśli używasz Git LFS
22+
lfs: true
2323

24-
- name: Setup .NET 9 SDK
24+
- name: Setup .NET 10 SDK
2525
uses: actions/setup-dotnet@v3
2626
with:
27-
dotnet-version: '9.0.x'
27+
dotnet-version: '10.0.x'

.github/workflows/grandnode.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Setup .NET Core
1818
uses: actions/setup-dotnet@v4
1919
with:
20-
dotnet-version: 9.0.x
20+
dotnet-version: 10.0.x
2121
- name: Create mongoDB Docker container
2222
run: sudo docker run -d -p 27017:27017 mongo:latest
2323
- name: Install .NET Aspire workload

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build stage
2-
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build-env
2+
FROM mcr.microsoft.com/dotnet/sdk:10.0 AS build-env
33
LABEL stage=build-env
44
WORKDIR /app
55

@@ -24,7 +24,7 @@ RUN for plugin in /app/Plugins/*; do \
2424
RUN dotnet publish /app/Web/Grand.Web/Grand.Web.csproj -c Release -o ./build/release -p:SourceRevisionId=$GIT_COMMIT -p:GitBranch=$GIT_BRANCH
2525

2626
# Runtime stage
27-
FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS runtime
27+
FROM mcr.microsoft.com/dotnet/aspnet:10.0 AS runtime
2828

2929
EXPOSE 8080
3030
WORKDIR /app

azure-pipelines.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ variables:
1313

1414
steps:
1515
- task: UseDotNet@2
16-
displayName: 'Install .NET Core SDK 9'
16+
displayName: 'Install .NET Core SDK 10'
1717
inputs:
18-
version: '9.0.x'
18+
version: '10.0.x'
1919

2020
- task: Bash@3
2121
displayName: Install .NET Aspire workload

0 commit comments

Comments
 (0)