Skip to content

Merge pull request #95 from space928/clickable_plane_demo #214

Merge pull request #95 from space928/clickable_plane_demo

Merge pull request #95 from space928/clickable_plane_demo #214

Workflow file for this run

name: .NET
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: windows-2022
env:
BuildProjects: "['OmsiExtensionsCLI/OmsiExtensionsCLI.csproj', 'OmsiExtensionsUI/OmsiExtensionsUI.csproj','OmsiHookRPCPlugin/OmsiHookRPCPlugin.csproj']"
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Setup Windows 10 SDK
uses: GuillaumeFalourd/[email protected]
- name: Restore dependencies
shell: pwsh
run: |
foreach($proj in (ConvertFrom-JSON "${{env.BuildProjects}}")) {
dotnet restore ${{ github.workspace }}/$proj
}
- name: Build
shell: pwsh
run: |
foreach($proj in (ConvertFrom-JSON "${{env.BuildProjects}}")) {
msbuild ${{ github.workspace }}/$proj -t:rebuild -property:Configuration=Release
}