Skip to content

Bump System.Text.Json from 4.7.0 to 8.0.4 in /perf/ListPool.Benchmarks #176

Bump System.Text.Json from 4.7.0 to 8.0.4 in /perf/ListPool.Benchmarks

Bump System.Text.Json from 4.7.0 to 8.0.4 in /perf/ListPool.Benchmarks #176

Workflow file for this run

name: Build
on:
push:
branches: master
tags: '**'
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup .net core 2.2
uses: actions/setup-dotnet@v1
with:
dotnet-version: 2.2.402
- name: Setup .net core 3.1
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.401
- name: .net SxS
run: |
rsync -a ${DOTNET_ROOT/3.1.401/2.2.402}/* $DOTNET_ROOT/
- name: dotnet restore
run: dotnet restore --packages .nuget/packages
- name: dotnet build
run: dotnet build --configuration Release
- name: dotnet test
run: dotnet test --no-build --configuration Release -p:CollectCoverage=true -p:CoverletOutputFormat=lcov -p:CoverletOutput=../../coverage/lcov.info
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
pack:
runs-on: ubuntu-latest
needs: build
if: github.event_name == 'push'
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.401
- name: dotnet restore
run: dotnet restore --packages .nuget/packages
- name: dotnet build
run: dotnet build --configuration Release
- run: ls
- name: Pack
run: dotnet pack --output ./artifacts -c Release --no-build --include-source --include-symbols
- run: ls
- run: ls ./artifacts
- uses: actions/upload-artifact@v1
with:
name: artifacts
path: ./artifacts