File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2222 name : Publish to Nuget.org
2323 runs-on : windows-latest
2424 needs : extract
25+ env :
26+ NOTES : ${{ needs.extract.outputs.notes }}
2527 steps :
2628 - name : Checkout Repository
2729 uses : actions/checkout@v2
3234 - name : Run Project Tests
3335 run : dotnet test --no-restore -c Release
3436 - name : Pack Projects into Nuget Packages
35- run : dotnet pack --no-restore -c Release /p:Version=${{ needs.extract.outputs.version }} /p:PackageReleaseNotes=${{ needs.extract.outputs.notes } }
37+ run : dotnet pack --no-restore -c Release /p:Version=${{ needs.extract.outputs.version }} /p:PackageReleaseNotes=${Env:NOTES }
3638 - name : Publish to Nuget.org
3739 run : dotnet nuget push */**.nupkg -s https://api.nuget.org/v3/index.json -k ${{ secrets.NUGET_API_KEY }}
You can’t perform that action at this time.
0 commit comments