Signing and Save Shortcut. #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Hosts CI | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
timeout-minutes: 10 | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: nuget/setup-nuget@v1 | |
- name: Install .NET Core | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Build Ironman Host | |
shell: pwsh | |
run: | | |
Set-Location IronmanPowerShellHost | |
dotnet publish -f net472 -c Release .\IronmanPowerShellHost.csproj | |
dotnet publish -f net6.0-windows -c Release .\IronmanPowerShellHost.csproj -p:UseWindowsForms=true | |
dotnet publish -f net6.0 -c Release .\IronmanPowerShellHost.csproj | |
dotnet publish -f net6.0 -c NoPowerShell .\IronmanPowerShellHost.csproj | |
dotnet publish -f net6.0-windows -c NoPowerShell .\IronmanPowerShellHost.csproj -p:UseWindowsForms=true |