Skip to content

Update dotnet.yml to dotnet 8.0.x #100

Update dotnet.yml to dotnet 8.0.x

Update dotnet.yml to dotnet 8.0.x #100

Workflow file for this run

name: .NET
on:
push:
branches:
- '*'
- '*/*'
pull_request:
branches:
- '*'
- '*/*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build -c Release --no-restore
- name: Test
run: dotnet test --verbosity normal -p:CollectCoverage=true
- name: Upload a Build Artifact
uses: actions/upload-artifact@v3
with:
name: DwC-A_dotnet.nupkg
path: src/DWC_A/bin/Release/DwC-A_dotnet.*.nupkg