feat(Wasm): 增加纯 wasm 模板 (#6) #74
This file contains hidden or 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: Package to Nuget | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| pack: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET Core | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| dotnet-version: 8.0.x | |
| - name: Publish to Nuget | |
| env: | |
| NUGET_API_KEY: ${{secrets.NUGET_API_KEY}} | |
| run: | | |
| dotnet build template/BootstrapBlazorServerPack.csproj | |
| dotnet pack template/BootstrapBlazorServerPack.csproj -c Release -o publish | |
| dotnet nuget push publish/Bootstrap.Blazor.Templates.*.nupkg -s https://api.nuget.org/v3/index.json -k $NUGET_API_KEY --skip-duplicate |