From d6660456ac2ecc87f7c840658b46cbe57b037b2a Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Fri, 31 Jan 2025 21:37:40 -0800 Subject: [PATCH] Build on ubuntu-latest --- .github/workflows/build.yml | 2 +- build.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8262a6815..9085fc581 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -27,7 +27,7 @@ env: jobs: backend: - runs-on: windows-latest + runs-on: ubuntu-latest outputs: framework: ${{ steps.variables.outputs.framework }} major_version: ${{ steps.variables.outputs.major_version }} diff --git a/build.sh b/build.sh index 29908e8cf..2743e9675 100755 --- a/build.sh +++ b/build.sh @@ -77,9 +77,9 @@ Build() if [[ -z "$RID" || -z "$FRAMEWORK" ]]; then - dotnet msbuild -restore $slnFile -p:SelfContained=True -p:Configuration=Release -p:Platform=$platform -t:PublishAllRids + dotnet msbuild -restore $slnFile -p:SelfContained=True -p:Configuration=Release -p:Platform=$platform -p:EnableWindowsTargeting=true -t:PublishAllRids else - dotnet msbuild -restore $slnFile -p:SelfContained=True -p:Configuration=Release -p:Platform=$platform -p:RuntimeIdentifiers=$RID -t:PublishAllRids + dotnet msbuild -restore $slnFile -p:SelfContained=True -p:Configuration=Release -p:Platform=$platform -p:RuntimeIdentifiers=$RID -p:EnableWindowsTargeting=true -t:PublishAllRids fi ProgressEnd 'Build'