From c379e7faf21e14d19cabfb18e279b86adf5db820 Mon Sep 17 00:00:00 2001 From: Christoph Hofmann Date: Sat, 14 Dec 2024 13:38:07 +0100 Subject: [PATCH] Fixed path and migrated to dotnet tooling Signed-off-by: Christoph Hofmann --- .github/workflows/build.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 690e1304..8dab9ebb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: name: 'Build App Package' runs-on: windows-latest env: - output_directory: ${{github.workspace}}/build + output_directory: ${{github.workspace}}\build steps: - name: Checkout main code uses: actions/checkout@v2 @@ -92,7 +92,14 @@ jobs: shell: pwsh run: | Write-Host "==== Build app package ====" -ForegroundColor Green - msbuild.exe ${{github.workspace}}\repo\OpenHAB.Windows.sln /p:Platform="x86" /p:AppxBundlePlatforms="${{inputs.bundle_Platforms}}" /p:AppxPackageDir="${{env.output_directory}}" /p:AppxBundle=Always /p:UapAppxPackageBuildMode=StoreUpload /p:configuration="${{inputs.build_configuration}}" /t:rebuild + dotnet msbuild ${{github.workspace}}\repo\OpenHAB.Windows.sln ` + -property:Platform="x86" ` + -property:AppxBundlePlatforms="${{inputs.bundle_Platforms}}" ` + -property:AppxPackageDir="${{env.output_directory}}" ` + -property:AppxBundle=Always ` + -property:UapAppxPackageBuildMode=StoreUpload ` + -property:Configuration="${{inputs.build_configuration}}" ` + -target:Rebuild - name: End SonarQube analyze env: