Update to Avalonia@07a1f681 (May 31 2023) (#33) #163
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: .NET | |
# Trigger the workflow on push or pull request | |
on: [push] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-20.04] | |
fail-fast: false | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '7.0.x' | |
- name: Build with dotnet | |
run: dotnet build --configuration Release | |
- name: Test with dotnet | |
if: runner.os == 'Windows' | |
run: dotnet test --configuration Release | |
- name: Package NuGet | |
if: runner.os == 'Windows' | |
run: dotnet pack src\Modern.WindowKit\Modern.WindowKit.csproj --configuration Release | |
- name: Upload NuGet | |
uses: actions/[email protected] | |
if: runner.os == 'Windows' | |
with: | |
name: NuGet Package | |
path: nupkg |