Added workflow to perform a build on push to master (#99)

This commit is contained in:
Michael Green
2023-09-14 00:33:36 +10:00
committed by GitHub
parent d0f46a06f2
commit e8016405b6
2 changed files with 24 additions and 1 deletions

21
.github/workflows/dotnet.yml vendored Normal file
View File

@@ -0,0 +1,21 @@
name: .NET
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore