Merge pull request #42 from JeremyAnsel/message_box #26
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 | |
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 publish .\source\iNKORE.UI.WPF.Modern.Gallery -r win-x64 -f net6.0-windows10.0.18362.0 --no-self-contained -p:PublishSingleFile=true -p:IncludeContentInSingleFile=true | |
# 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 Gallery apps | |
uses: actions/upload-artifact@v3 | |
with: | |
name: iNKORE.UI.WPF.Modern.Gallery | |
path: .\source\iNKORE.UI.WPF.Modern.Gallery\bin\Debug\net6.0-windows10.0.18362.0\win-x64\publish |