Skip to content

Commit

Permalink
Fixed path and migrated to dotnet tooling
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hofmann <oss@hoffe.org>
  • Loading branch information
hoffe86 committed Dec 14, 2024
1 parent 2a961a6 commit c379e7f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit c379e7f

Please sign in to comment.