Create github action.

This commit is contained in:
2020-12-31 22:47:01 +00:00
committed by GitHub
parent 9dec4df51e
commit 85bc24992e

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

@@ -0,0 +1,23 @@
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: 3.1.301
- name: Restore dependencies
run: dotnet restore Aaru.sln
- name: Build
run: dotnet build --no-restore Aaru.sln