Skip to content

Commit

Permalink
Merge pull request #31 from Zaitonn/main
Browse files Browse the repository at this point in the history
Fixed some mistakes in `iNKORE.UI.WPF.Modern.SampleApp` and added a workflow
  • Loading branch information
NotYoojun authored Dec 15, 2023
2 parents 390db9e + 49feec8 commit d9a3237
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Build

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:
runs-on: windows-latest

steps:
- uses: actions/checkout@v3

- name: Setup .NET
uses: actions/setup-dotnet@v2
with:
dotnet-version: 6.0.x

- name: Install dependencies
run: dotnet restore

- name: Build and pack
continue-on-error: true
run: |
dotnet build .\source\iNKORE.UI.WPF.Modern
dotnet build .\source\iNKORE.UI.WPF.Modern.SampleApp
# dotnet pack .\source\iNKORE.UI.WPF.Modern.Controls --configuration Release -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg

- name: Upload binary libraries of iNKORE.UI.WPF.Modern.Controls
uses: actions/upload-artifact@v3
with:
name: iNKORE.UI.WPF.Modern.Controls dlls
path: .\source\iNKORE.UI.WPF.Modern.Controls\bin\Debug

- name: Upload sample apps
uses: actions/upload-artifact@v3
with:
name: iNKORE.UI.WPF.Modern.SampleApp files
path: .\source\iNKORE.UI.WPF.Modern.SampleApp\bin\Debug
1 change: 1 addition & 0 deletions source/iNKORE.UI.WPF.Modern.SampleApp/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using iNKORE.UI.WPF.Modern.Controls;
using iNKORE.UI.WPF.Modern.Controls.Primitives;
using iNKORE.UI.WPF.Modern.Controls.Helpers;
using iNKORE.UI.WPF.Modern.Helpers.Styles;
using iNKORE.UI.WPF.Modern.SampleApp.Common;
using iNKORE.UI.WPF.Modern.SampleApp.DataModel;
Expand Down

0 comments on commit d9a3237

Please sign in to comment.