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 40
40
run : make test-docker release
41
41
- run : bash <(curl -s https://codecov.io/bash)
42
42
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
+
43
61
deploy :
44
62
name : Deploy
45
63
if : success() && github.ref_type == 'tag'
65
83
run : |
66
84
make release
67
85
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
69
87
70
88
- name : Submit metric to Datadog
71
89
uses : sendgrid/dx-automator/actions/datadog-release-metric@main
You can’t perform that action at this time.
0 commit comments