Nefarius.Peripherals.Serial.../.github/workflows/build.yml

24 lines
391 B
YAML

name: .NET
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup .Net SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.x
- name: Build
run: dotnet build -c Release