31 lines
635 B
YAML
31 lines
635 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- "dev"
|
|
paths:
|
|
- "SimpleToolkit.UI.WinUI.Behaviors**"
|
|
pull_request:
|
|
branches:
|
|
- "dev"
|
|
- "main"
|
|
paths:
|
|
- "SimpleToolkit.UI.WinUI.Behaviors**"
|
|
|
|
jobs:
|
|
build:
|
|
name: Build
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
- name: Setup .NET
|
|
uses: actions/setup-dotnet@v4
|
|
with:
|
|
dotnet-version: 8.0.x
|
|
- name: Restore dependencies
|
|
run: dotnet restore
|
|
- name: Build
|
|
run: dotnet build --no-restore
|
|
- name: Create NuGet package
|
|
run: dotnet pack -c Debug --output ./ |