Skip to content

Fix Output type

Fix Output type #8

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: .NET
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
dotnet-version: [ '8.0.x', '7.0.x' ]
steps:
- name: checkout all the submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Setup dotnet ${{ matrix.dotnet-version }}
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ matrix.dotnet-version }}
- name: Restore dependencies ${{ matrix.dotnet-version }}
run: dotnet restore
- name: Build ${{ matrix.dotnet-version }}
run: dotnet build /p:EnableWindowsTargeting=true --no-restore
- name: Test ${{ matrix.dotnet-version }}
run: dotnet test --no-build --verbosity normal