File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -110,6 +110,25 @@ jobs:
110110 $nupkg = Get-ChildItem -Filter dist\*.nupkg | Select-Object -First 1
111111 nuget-cert-extractor --file $nupkg --output dist --code-signing --author --leaf
112112
113+ - name : certificate summary
114+ shell : pwsh
115+ run : |
116+ & {
117+ echo '# NuGet Certificate Registration'
118+ echo ''
119+ echo 'To publish packages to NuGet.org, you must register the trusted signing certificate.'
120+ echo ''
121+ echo 'Download the `certificate` artifact, extract the `.cer` file and register it'
122+ echo 'in your NuGet account at <https://www.nuget.org/account>'
123+ } | Out-File -FilePath $env:GITHUB_STEP_SUMMARY
124+
125+ - name : publish certificate
126+ uses : actions/upload-artifact@v4
127+ with :
128+ name : certificate
129+ path : |
130+ ${{ github.workspace }}/dist/*.cer
131+
113132 - name : publish artifact
114133 uses : actions/upload-artifact@v4
115134 with :
You can’t perform that action at this time.
0 commit comments