From acf83d882b7d0473bf6119c10f7c85cf76f2647b Mon Sep 17 00:00:00 2001 From: Adam Hathcock Date: Mon, 4 Mar 2024 10:22:19 +0000 Subject: [PATCH] fix build with updates --- .github/workflows/dotnetcore.yml | 2 +- build/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index 66f3c275..56250d8e 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -12,4 +12,4 @@ jobs: - uses: actions/setup-dotnet@v4 with: dotnet-version: 8.0.201 - - run: dotnet run -p build/build.csproj + - run: dotnet run --project build/build.csproj diff --git a/build/Program.cs b/build/Program.cs index 3392c6d8..fdb54a19 100644 --- a/build/Program.cs +++ b/build/Program.cs @@ -67,7 +67,7 @@ void RemoveDirectory(string d) { Run( "dotnet", - $"publish {project} -c Release -f net7.0 -o ./publish --no-restore --no-build --verbosity=normal" + $"publish {project} -c Release -f net8.0 -o ./publish --no-restore --no-build --verbosity=normal" ); } );