Skip to content

Commit 6f85b59

Browse files
committed
Use the code-signing action of ImageMagick instead.
1 parent 66e9b02 commit 6f85b59

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -410,25 +410,14 @@ jobs:
410410
path: packages
411411
merge-multiple: true
412412

413-
- name: Install dotnet sign
414-
run: dotnet tool install --global sign --prerelease
415-
416-
- name: Azure CLI login with federated credential
417-
uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0
413+
- name: Sign executables and libraries
414+
uses: ImageMagick/code-signing@4d19869732e1cd97bb823ad21ebffb26ad10836c # v1.0.0
418415
with:
419416
client-id: ${{ secrets.AZURE_CLIENT_ID }}
420417
tenant-id: ${{ secrets.AZURE_TENANT_ID }}
421418
subscription-id: ${{ secrets.AZURE_SUBSCRIPTION_ID }}
422-
423-
- name: Sign NuGet package
424-
run: sign code trusted-signing `
425-
--trusted-signing-account ImageMagick `
426-
--trusted-signing-certificate-profile ImageMagick2028 `
427-
--trusted-signing-endpoint https://wus2.codesigning.azure.net `
428-
--azure-credential-type azure-cli `
429-
--verbosity information `
430-
*.nupkg
431-
working-directory: packages
419+
directory: ${{ github.workspace }}\packages
420+
files: '*.nupkg'
432421

433422
- name: Print public key
434423
run: |

0 commit comments

Comments
 (0)