Skip to content

Handle Persistent Terminal Sessions (#80) #82

Handle Persistent Terminal Sessions (#80)

Handle Persistent Terminal Sessions (#80) #82

Workflow file for this run

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
cache: true
cache-dependency-path: IronmanPowerShellHost/packages.lock.json
- 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