@@ -125,13 +125,23 @@ jobs:
125
125
asset_name : DotNetLightning-${{ matrix.RID }}.${{ steps.get_version.outputs.VERSION }}.nupkg
126
126
asset_content_type : application/zip
127
127
128
- - name : Upload nuget packages (DotNetLightning.ClnRpc)
129
- if : startsWith(matrix.os, 'ubuntu')
130
- run : |
131
- dotnet pack -p:Configuration=Release src/DotNetLightning.ClnRpc -p:Portability=True
132
- if [ ${{ secrets.NUGET_API_KEY }} ]; then
133
- dotnet nuget push ./src/DotNetLightning.ClnRpc/bin/Release/DotNetLightning.ClnRpc.${{ steps.get_version.outputs.VERSION }}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
134
- fi
128
+ - name : Upload nuget packages (DotNetLightning.ClnRpc)
129
+ if : startsWith(matrix.os, 'ubuntu')
130
+ run : |
131
+ dotnet pack -p:Configuration=Release src/DotNetLightning.ClnRpc -p:Portability=True
132
+ if [ ${{ secrets.NUGET_API_KEY }} ]; then
133
+ dotnet nuget push ./src/DotNetLightning.ClnRpc/bin/Release/DotNetLightning.ClnRpc.${{ steps.get_version.outputs.VERSION }}.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
134
+ fi
135
+ - name : upload release asset (DotNetLightning.ClnRpc)
136
+ if : startsWith(matrix.os, 'ubuntu-20')
137
+ uses : actions/upload-release-asset@v1
138
+ env :
139
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
140
+ with :
141
+ upload_url : ${{ steps.upload-url.outputs.url }}
142
+ asset_path : ./src/DotNetLightning.ClnRpc/bin/Release/DotNetLightning.ClnRpc.${{ steps.get_version.outputs.VERSION }}.nupkg
143
+ asset_name : DotNetLightning.ClnRpc-multiplatform.${{ steps.get_version.outputs.VERSION }}.nupkg
144
+ asset_content_type : application/zip
135
145
136
146
137
147
pack_and_push_prerelease :
0 commit comments