Skip to content

Publish Hosts.

Publish Hosts. #107

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
- name: Upload Artifact
uses: actions/upload-artifact@v3
with:
name: PowerShellTools
path: IronmanPowerShellHost/bin/Release