Merge pull request #283 from Crequency/dev=main #348
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: Build Plugins | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- ".*/**" | |
- "**/*.md" | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- ".*/**" | |
- "**/*.md" | |
workflow_dispatch: | |
jobs: | |
build-plugins-on-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: dev=main | |
submodules: "true" | |
- name: Checkout KitX SDK | |
uses: actions/checkout@v4 | |
with: | |
repository: "Crequency/KitX-SDK" | |
ref: "dev=main" | |
path: "KitX SDK" | |
submodules: "true" | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v4 | |
with: | |
dotnet-version: | | |
8.0.x | |
- name: Initialize References | |
run: | | |
dotnet tool install --global Cheese | |
cheese reference --setup --convert-ssl-link-to-https-link | |
- name: Build Plugins | |
working-directory: "KitX SDK/KitX Plugins" | |
run: | | |
cd "TestPlugin.CSharp" | |
dotnet build -c Release | |
cd .. | |
cd "TestPlugin.Winform.Core" | |
dotnet build -c Release | |
cd .. | |
cd "TestPlugin.WPF.Core" | |
dotnet build -c Release | |
cd .. |