Skip to content

-- Reference System.Text.Json only for netstandard2.0. In .NET 8 alre… #1

-- Reference System.Text.Json only for netstandard2.0. In .NET 8 alre…

-- Reference System.Text.Json only for netstandard2.0. In .NET 8 alre… #1

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: [ "vnext" ]
pull_request:
branches: [ "vnext" ]
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
working-directory: src
run: dotnet restore
- name: Build
working-directory: src
run: dotnet build --no-restore
- name: Package
working-directory: src
run: dotnet pack