BootstrapBlazor3/.github/workflows/build.yml
Argo Zhang 325e300d39
refactor(QueryPageOptions): rename IsFristQuery to IsFirstQuery (#3263)
* feat: 更改 IsFristQuery 为 IsFirstQuery

* refactor: 更新单词

* test: 更新单元测试

* refactor: 增加排除标签

* chore: 更新自动化脚本
2024-04-11 19:02:56 +08:00

38 lines
721 B
YAML

name: Build project
on:
push:
branches:
- master
- main
- dev
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x
- name: Build
env:
NUGET_API_KEY: ${{secrets.NUGET_API_KEY}}
Bundle: True
run: |
dotnet restore src/BootstrapBlazor --no-cache
dotnet build src/BootstrapBlazor
- name: Test
run: |
dotnet test test/UnitTest --collect:"XPlat Code Coverage"
- name: Upload to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}