File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,12 +33,20 @@ jobs:
3333 - name : Build
3434 run : dotnet build Source/ModelingEvolution.Observable.sln --configuration Release --no-restore
3535
36- - name : Pack
37- run : dotnet pack Source/ModelingEvolution.Observable.sln --configuration Release --no-build --output ./nupkg
36+ - name : Pack Observable
37+ run : dotnet pack Source/ModelingEvolution.Observable/ModelingEvolution.Observable.csproj --configuration Release --no-build --output ./nupkg
38+
39+ - name : Pack Observable.Blazor
40+ run : dotnet pack Source/ModelingEvolution.Observable.Blazor/ModelingEvolution.Observable.Blazor.csproj --configuration Release --no-build --output ./nupkg
41+
42+ - name : List packages
43+ run : ls -la ./nupkg/
3844
3945 - name : Push to NuGet
4046 run : |
41- dotnet nuget push ./nupkg/*.nupkg \
42- --api-key ${{ secrets.NUGET_API_KEY }} \
43- --source https://api.nuget.org/v3/index.json \
44- --skip-duplicate
47+ for pkg in ./nupkg/*.nupkg; do
48+ dotnet nuget push "$pkg" \
49+ --api-key ${{ secrets.NUGET_API_KEY }} \
50+ --source https://api.nuget.org/v3/index.json \
51+ --skip-duplicate
52+ done
You can’t perform that action at this time.
0 commit comments