Skip to content

Move tests to net8.0 and cleanup. #6

Move tests to net8.0 and cleanup.

Move tests to net8.0 and cleanup. #6

Workflow file for this run

name: .NET
on:
push:
tags:
- v*
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 6.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Push
run: |
pwsh ./pack.ps1 -version ${GITHUB_REF_NAME:1}
cd ./nugets
dotnet nuget push *.nupkg --skip-duplicate -s https://nuget.org -k ${{ secrets.NUGET_KEY }}