Skip to content

Commit 4527dcd

Browse files
committed
Refactor build workflow to simplify NuGet package restore step
1 parent 456fdcb commit 4527dcd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,12 @@ jobs:
8484
8585
- name: Restore nuget packages
8686
shell: pwsh
87-
run: |
88-
Write-Host "==== Restore Nuget packages ====" -ForegroundColor Green
87+
run: |
8988
dotnet restore ${{github.workspace}}\repo\OpenHAB.Windows.sln --force --no-cache
9089
9190
- name: Build OpenHab Windows App
9291
shell: pwsh
9392
run: |
94-
Write-Host "==== Build app package ====" -ForegroundColor Green
9593
dotnet msbuild ${{github.workspace}}\repo\OpenHAB.Windows.sln `
9694
-property:Platform="x86" `
9795
-property:AppxBundlePlatforms="${{inputs.bundle_Platforms}}" `

0 commit comments

Comments
 (0)