Skip to content

Commit 70b8741

Browse files
committed
Add certificate registration steps
1 parent 97a797b commit 70b8741

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/release-signed.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)