From 060cad48677bb4b16fcd9553cd5e8f4f9ff990d8 Mon Sep 17 00:00:00 2001 From: Axionyx Date: Sun, 12 Jan 2025 07:30:28 +0100 Subject: [PATCH 1/4] Update to dotnet 9.0 --- Robust.Cdn.Downloader/Robust.Cdn.Downloader.csproj | 2 +- Robust.Cdn.Lib/Robust.Cdn.Lib.csproj | 2 +- Robust.Cdn/Robust.Cdn.csproj | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Robust.Cdn.Downloader/Robust.Cdn.Downloader.csproj b/Robust.Cdn.Downloader/Robust.Cdn.Downloader.csproj index 939df7f..2253be8 100644 --- a/Robust.Cdn.Downloader/Robust.Cdn.Downloader.csproj +++ b/Robust.Cdn.Downloader/Robust.Cdn.Downloader.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net9.0 enable enable diff --git a/Robust.Cdn.Lib/Robust.Cdn.Lib.csproj b/Robust.Cdn.Lib/Robust.Cdn.Lib.csproj index e03f26a..3b7cf39 100644 --- a/Robust.Cdn.Lib/Robust.Cdn.Lib.csproj +++ b/Robust.Cdn.Lib/Robust.Cdn.Lib.csproj @@ -1,6 +1,6 @@  - net8.0 + net9.0 enable enable true diff --git a/Robust.Cdn/Robust.Cdn.csproj b/Robust.Cdn/Robust.Cdn.csproj index 242ee60..804d6b2 100644 --- a/Robust.Cdn/Robust.Cdn.csproj +++ b/Robust.Cdn/Robust.Cdn.csproj @@ -1,11 +1,11 @@ - net8.0 + net9.0 enable enable true - 2.2.0 + 2.2.1 From c8501db150d306287db378298f2423a1f581473f Mon Sep 17 00:00:00 2001 From: Axionyx Date: Sun, 12 Jan 2025 07:30:46 +0100 Subject: [PATCH 2/4] Upgrade NuGet packages --- Directory.Packages.props | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index 575330e..6573608 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -3,13 +3,13 @@ true - + - - - - - + + + + + From 8bc982c42ccac07aa2ccf35e91674ceb9bac8050 Mon Sep 17 00:00:00 2001 From: Axionyx Date: Sun, 12 Jan 2025 08:04:13 +0100 Subject: [PATCH 3/4] Tests aren't even ran but whatever --- .github/workflows/build-test.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index cb77efa..0909612 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -13,9 +13,13 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Setup .NET Core + uses: actions/setup-dotnet@v3.2.0 + with: + dotnet-version: 9.0.x - name: Install dependencies run: dotnet restore - name: Build run: dotnet build --configuration Release --no-restore # - name: Test - # run: dotnet test --no-restore --verbosity normal \ No newline at end of file + # run: dotnet test --no-restore --verbosity normal From ed79db26b969b0a4075b52b9eae71e2595ac1067 Mon Sep 17 00:00:00 2001 From: Axionyx Date: Fri, 17 Jan 2025 15:13:05 +0100 Subject: [PATCH 4/4] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 252278c..bb5985b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:9.0 AS base # Make volume dirs RUN for DIR in /database /manifest /builds; do mkdir $DIR; chown app: $DIR; done @@ -7,7 +7,7 @@ USER $APP_UID WORKDIR /app EXPOSE 8080 -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release WORKDIR /src COPY . .