This repository has been archived by the owner on May 1, 2024. It is now read-only.
Bump Microsoft.AspNetCore.Components from 6.0.2 to 6.0.25 in /samples/BlazorSample.Domain #177
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
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/* |