Skip to content

Fix build errors with latest .NET 8 SDK. #36

Fix build errors with latest .NET 8 SDK.

Fix build errors with latest .NET 8 SDK. #36

Workflow file for this run

name: Continuous Integration
on:
push:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out
uses: actions/checkout@v3
- name: Set up .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'
- name: Restore
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --configuration Release --no-build --logger "trx;LogFileName=test-results.trx"
- name: Upload Test Results
uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: test-results
path: tests/NGuid.Tests/TestResults/test-results.trx
- name: Pack
run: dotnet pack --configuration Release --no-build
- name: Upload NuGet Package
uses: actions/upload-artifact@v3
with:
name: nuget
path: artifacts/package/release/
if-no-files-found: error