File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ permissions:
2222 packages : write # push to ghcr.io
2323
2424jobs :
25- # ── NuGet package ─ ──────────────────────────────────────────────────────────
25+ # ── NuGet packages ──────────────────────────────────────────────────────────
2626 nuget-client :
27- name : Pack & Publish BLite.Client
27+ name : Pack & Publish BLite.Client + BLite.Proto
2828 runs-on : ubuntu-latest
2929
3030 steps :
4242 with :
4343 dotnet-version : " 10.0.x"
4444
45+ - name : Pack BLite.Proto
46+ run : >
47+ dotnet pack BLite.Server/src/BLite.Proto/BLite.Proto.csproj
48+ --configuration Release
49+ --output artifacts/nuget
50+ -p:Version=${{ steps.version.outputs.version }}
51+ --nologo
52+
4553 - name : Pack BLite.Client
4654 run : >
4755 dotnet pack BLite.Server/src/BLite.Client/BLite.Client.csproj
5058 -p:Version=${{ steps.version.outputs.version }}
5159 --nologo
5260
61+ - name : Publish BLite.Proto to NuGet.org
62+ run : >
63+ dotnet nuget push "artifacts/nuget/BLite.Proto.${{ steps.version.outputs.version }}.nupkg"
64+ --source https://api.nuget.org/v3/index.json
65+ --api-key ${{ secrets.NUGET_API_KEY }}
66+ --skip-duplicate
67+
5368 - name : Publish BLite.Client to NuGet.org
5469 run : >
5570 dotnet nuget push "artifacts/nuget/BLite.Client.${{ steps.version.outputs.version }}.nupkg"
You can’t perform that action at this time.
0 commit comments