25 lines
583 B
YAML
25 lines
583 B
YAML
|
name: dotnet package
|
||
|
|
||
|
on: [push]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
|
||
|
runs-on: ubuntu-latest
|
||
|
strategy:
|
||
|
matrix:
|
||
|
dotnet-version: [ '5.0.x' ]
|
||
|
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
- name: Setup .NET Core SDK ${{ matrix.dotnet-version }}
|
||
|
uses: actions/setup-dotnet@v1.7.2
|
||
|
with:
|
||
|
dotnet-version: ${{ matrix.dotnet-version }}
|
||
|
- name: Install Dependencies
|
||
|
run: dotnet restore
|
||
|
- name: Build
|
||
|
run: dotnet build --configuration Release --no-restore
|
||
|
- name: Test
|
||
|
run: dotnet test --no-restore --verbosity normal
|