[Pull Request] New script for github action that check latest commit date #330
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 Loaders | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- ".*/**" | |
- "**/*.md" | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- ".*/**" | |
- "**/*.md" | |
workflow_dispatch: | |
jobs: | |
build-loaders-on-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: "true" | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: | | |
6.0.x | |
7.0.x | |
include-prerelease: false | |
- name: Build Loaders | |
working-directory: "KitX Standard/KitX Loaders" | |
run: | | |
cd "KitX.Loader.Winform.Core" | |
dotnet build -c Release | |
cd ".." | |
cd "KitX.Loader.WPF.Core" | |
dotnet build -c Release | |
cd ".." |