Skip to content

Commit 75278e7

Browse files
author
Paul Savoie
committedMar 5, 2024
fixes build script
1 parent 66e846b commit 75278e7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed
 

‎.github/workflows/build-and-sign.yml

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ name: build-and-sign
55
run-name: Demo workflow signing with SignPath
66
on:
77
push:
8-
branches: ["main"]
98
pull_request:
109
schedule:
1110
- cron: '30 3 * * *' # every day at 3:30am UTC

‎src/Build.ps1

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# build .Net application
2-
dotnet build --configuration Release
2+
dotnet build --configuration Release src/DemoExample.csproj
33

44
# build MSI installer
5-
Copy-Item src\installer\description.wxs .\src\bin\Release\net7.0\description.wxs -Force
6-
Push-Location .src\bin\Release\net7.0
5+
Copy-Item .\src\installer\description.wxs .\src\bin\Release\net7.0\description.wxs -Force
6+
Push-Location .\src\bin\Release\net7.0
77
& "${env:WIX}bin\candle.exe" description.wxs
88
& "${env:WIX}bin\light.exe" description.wixobj -out DemoExample.msi
99
Pop-Location

0 commit comments

Comments
 (0)
Please sign in to comment.