Bump System.Text.Json from 4.7.0 to 8.0.4 in /perf/ListPool.Benchmarks #176
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |