Add type cast fixes for .NET 9 NativeAOT, based on WASDK XAML compiler #16
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: | |
workflow_dispatch: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
branches: [ "master" ] | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 8.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Build | |
run: | | |
dotnet pack ModernXamlCompiler/ModernXamlCompiler.msbuildproj -c Release --no-restore /clp:ErrorsOnly | |
dotnet pack projections/WinUI/WinUIProjection.csproj -c Release --no-restore /clp:ErrorsOnly | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: ModernXamlCompiler | |
path: | | |
ModernXamlCompiler/bin/Release/*.nupkg | |
projections/WinUI/bin/Release/*.nupkg | |