BootstrapBlazor3/.github/workflows/pack.yml
Argo Zhang 7218fb3319
test(TreeView): add unit test improve code coverage (#2858)
* chore: 更新自动化脚本

* refactor: 更新样式

* doc: 更新示例

* test: 增加单元测试

* chore: bump version 8.1.10-beta02
2024-01-27 18:13:23 +08:00

30 lines
641 B
YAML

name: Package to Nuget
on:
push:
branches:
- pack
- hotfix
jobs:
pack:
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: Publish to Nuget
env:
NUGET_API_KEY: ${{secrets.NUGET_API_KEY}}
Bundle: True
run: |
dotnet build src/BootstrapBlazor
dotnet pack src/BootstrapBlazor -c Release -o publish
dotnet nuget push publish/BootstrapBlazor.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate