-
Notifications
You must be signed in to change notification settings - Fork 6
38 lines (31 loc) · 1.06 KB
/
hosts.ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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