Skip to content

Multi-target .NET Frameowk for .NET 6.0 and .NET 7.0 #31

Multi-target .NET Frameowk for .NET 6.0 and .NET 7.0

Multi-target .NET Frameowk for .NET 6.0 and .NET 7.0 #31

Workflow file for this run

name: Webhooks PR Build
on:
pull_request:
branches: [ main ]
jobs:
build:
name: "Build and Test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
6.0.x
7.0.x
- name: Add Deveel GitHub NuGet Source
run: dotnet nuget add source "https://nuget.pkg.github.com/deveel/index.json" -n "Deveel GitHub" -u ${{ secrets.DEVEEL_NUGET_USER }} -p ${{ secrets.DEVEEL_NUGET_TOKEN }} --store-password-in-clear-text
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore -c Release
- name: Test
run: dotnet test --no-build --verbosity normal -c Release /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:Exclude="[*.XUnit]*"