Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Bump Microsoft.AspNetCore.Components from 6.0.0 to 6.0.24 in /samples/BlazorSample.Components #173

Bump Microsoft.AspNetCore.Components from 6.0.0 to 6.0.24 in /samples/BlazorSample.Components

Bump Microsoft.AspNetCore.Components from 6.0.0 to 6.0.24 in /samples/BlazorSample.Components #173

Workflow file for this run

on:
push:
branches:
- master
pull_request:
branches:
- master
paths:
- 'src/**/*'
- 'samples/**/*'
- '.github/workflows/**/*'
name: Build
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Setup .NET
uses: actions/setup-dotnet@master
with:
dotnet-version: '6.0.x'
- name: Build
run: dotnet build --configuration Release -p:ContinuousIntegrationBuild=true -p:TreatWarningsAsErrors=true src
- name: Test
run: dotnet test -p:ContinuousIntegrationBuild=true -p:CollectCoverage=true -p:CoverletOutputFormat=lcov -p:CoverletOutput=$GITHUB_WORKSPACE/coverage.lcov src
- name: Upload coverage
uses: romeovs/lcov-reporter-action@master
if: github.event.pull_request.base.ref == 'master'
with:
lcov-file: coverage.lcov
delete-old-comments: true
- name: Pack
run: dotnet pack --configuration Release -p:ContinuousIntegrationBuild=true -p:SymbolPackageFormat=snupkg src -o out
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: packages
path: out/*