Skip to content

refactor(samples): adopt updated Avalonia input APIs #28

refactor(samples): adopt updated Avalonia input APIs

refactor(samples): adopt updated Avalonia input APIs #28

Workflow file for this run

name: CI
on:
push:
branches:
- main
- release/*
pull_request:
branches:
- main
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
name: Build ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Build Release
run: dotnet build --configuration Release
- name: Test Release
run: dotnet test --configuration Release
package:
name: Package NuGet
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '9.0.x'
- name: Pack NuGet Package
run: dotnet pack src/HexView/HexView.csproj --configuration Release --output ./artifacts
- name: Upload NuGet Artifact
uses: actions/upload-artifact@v4
with:
name: nuget-package
path: ./artifacts/*.nupkg
retention-days: 30