diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 34cb210..c79ce70 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -14,10 +14,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@main - - name: Setup .NET 8 + - name: Setup .NET 9 uses: actions/setup-dotnet@main with: - dotnet-version: 8.x + dotnet-version: 9.x - name: Restore run: dotnet restore NewDarkGlobalServer.sln - name: Build diff --git a/src/Dockerfile b/src/Dockerfile index 1863d3b..8428b6f 100644 --- a/src/Dockerfile +++ b/src/Dockerfile @@ -1,11 +1,11 @@ ARG LAUNCHING_FROM_VS ARG FINAL_BASE_IMAGE=${LAUNCHING_FROM_VS:+aotdebug} -FROM mcr.microsoft.com/dotnet/runtime:8.0-alpine AS base +FROM mcr.microsoft.com/dotnet/runtime:9.0-alpine AS base USER app WORKDIR /app -FROM mcr.microsoft.com/dotnet/sdk:8.0-alpine AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build RUN apk update \ && apk add build-base zlib-dev ARG BUILD_CONFIGURATION=Release @@ -26,7 +26,7 @@ RUN apk update \ && apk add gdb USER app -FROM ${FINAL_BASE_IMAGE:-mcr.microsoft.com/dotnet/runtime-deps:8.0-alpine} AS final +FROM ${FINAL_BASE_IMAGE:-mcr.microsoft.com/dotnet/runtime-deps:9.0-alpine} AS final WORKDIR /app COPY --from=publish /app/publish . ENTRYPOINT ["./NewDarkGlobalServer"] \ No newline at end of file diff --git a/src/NewDarkGlobalServer.csproj b/src/NewDarkGlobalServer.csproj index 4b04b60..4cf15f0 100644 --- a/src/NewDarkGlobalServer.csproj +++ b/src/NewDarkGlobalServer.csproj @@ -2,14 +2,14 @@ Exe - net8.0 + net9.0 NewDarkGlobalServer NewDarkGlobalServer App.manifest App.ico Linux Debug;Release;ReleaseSigned - 1.3.1 + 1.3.2 true diff --git a/src/Properties/PublishProfiles/Portable.pubxml b/src/Properties/PublishProfiles/Portable.pubxml index e78b8b5..561529e 100644 --- a/src/Properties/PublishProfiles/Portable.pubxml +++ b/src/Properties/PublishProfiles/Portable.pubxml @@ -8,7 +8,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. Any CPU bin\Publish\Portable FileSystem - net8.0 + net9.0 false false diff --git a/src/Properties/PublishProfiles/linux-arm64.pubxml b/src/Properties/PublishProfiles/linux-arm64.pubxml index a454de4..a5a85e9 100644 --- a/src/Properties/PublishProfiles/linux-arm64.pubxml +++ b/src/Properties/PublishProfiles/linux-arm64.pubxml @@ -8,7 +8,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. Any CPU bin\Publish\linux-arm64 FileSystem - net8.0 + net9.0 linux-arm64 true false diff --git a/src/Properties/PublishProfiles/linux-x64.pubxml b/src/Properties/PublishProfiles/linux-x64.pubxml index 04e96aa..2b89b4d 100644 --- a/src/Properties/PublishProfiles/linux-x64.pubxml +++ b/src/Properties/PublishProfiles/linux-x64.pubxml @@ -8,7 +8,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. Any CPU bin\Publish\linux-x64 FileSystem - net8.0 + net9.0 linux-x64 true false diff --git a/src/Properties/PublishProfiles/osx-arm64.pubxml b/src/Properties/PublishProfiles/osx-arm64.pubxml index f6ca4c5..9b23890 100644 --- a/src/Properties/PublishProfiles/osx-arm64.pubxml +++ b/src/Properties/PublishProfiles/osx-arm64.pubxml @@ -8,7 +8,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. Any CPU bin\Publish\osx-arm64 FileSystem - net8.0 + net9.0 osx-arm64 true true diff --git a/src/Properties/PublishProfiles/osx-x64.pubxml b/src/Properties/PublishProfiles/osx-x64.pubxml index 195ac3d..809f391 100644 --- a/src/Properties/PublishProfiles/osx-x64.pubxml +++ b/src/Properties/PublishProfiles/osx-x64.pubxml @@ -8,7 +8,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. Any CPU bin\Publish\osx-x64 FileSystem - net8.0 + net9.0 osx-x64 true true diff --git a/src/Properties/PublishProfiles/win-arm64.pubxml b/src/Properties/PublishProfiles/win-arm64.pubxml index 1e46395..fbe1f79 100644 --- a/src/Properties/PublishProfiles/win-arm64.pubxml +++ b/src/Properties/PublishProfiles/win-arm64.pubxml @@ -8,7 +8,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. Any CPU bin\Publish\win-arm64 FileSystem - net8.0 + net9.0 win-arm64 true false diff --git a/src/Properties/PublishProfiles/win-x64.pubxml b/src/Properties/PublishProfiles/win-x64.pubxml index 9ecb630..866e9a1 100644 --- a/src/Properties/PublishProfiles/win-x64.pubxml +++ b/src/Properties/PublishProfiles/win-x64.pubxml @@ -8,7 +8,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121. Any CPU bin\Publish\win-x64 FileSystem - net8.0 + net9.0 win-x64 true false