File tree Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Expand file tree Collapse file tree 1 file changed +19
-1
lines changed Original file line number Diff line number Diff line change 4040 run : make test-docker release
4141 - run : bash <(curl -s https://codecov.io/bash)
4242
43+ import-certificate :
44+ runs-on : windows-latest
45+ steps :
46+ - uses : actions/checkout@v2
47+ - run : make install
48+ - name : import-certificate
49+ run : |
50+ New-Item -ItemType directory -Path certificate
51+ Set-Content -Path certificate\certificate.txt -Value '${{ secrets.CODE_SIGNING_CERTIFICATE }}'
52+ certutil -decode certificate\certificate.txt certificate\certificate.pfx
53+
54+ - name : Upload Artifact
55+ uses : actions/upload-artifact@v3
56+ with :
57+ name : certificate.pfx
58+ path : certificate\certificate.pfx
59+ retention-days : 1
60+
4361 deploy :
4462 name : Deploy
4563 if : success() && github.ref_type == 'tag'
6583 run : |
6684 make release
6785 dotnet nuget sign **/*.nupkg --certificate-path certificate.pfx --certificate-password ${{ secrets.CERTIFICATE_PASSWORD }} --timestamper http://timestamp.digicert.com
68- dotnet nuget push **/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json --skip-duplicate
86+ dotnet nuget push **/*.nupkg -k ${{ secrets.NUGET_API_KEY }} -s https://api.nuget.org/v3/index.json
6987
7088 - name : Submit metric to Datadog
7189 uses : sendgrid/dx-automator/actions/datadog-release-metric@main
You can’t perform that action at this time.
0 commit comments