File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,10 @@ jobs:
6464 run : ./Build.ps1
6565 shell : pwsh
6666 - name : Sign packages
67- if : github.event == 'push'
6867 run : |-
69- for file in artifacts/ *.nupkg; do
70- dotnet NuGetKeyVaultSignTool sign "$file" --file-digest sha256 --timestamp-rfc3161 http://timestamp.digicert.com --azure-key-vault-managed-identity --azure-key-vault-url ${{ secrets.AZURE_KEYVAULT_URI }} --azure-key-vault-certificate ${{ secrets.CODESIGN_CERT_NAME }}
71- done
68+ foreach ($f in Get-ChildItem "./artifacts" -Filter " *.nupkg") {
69+ dotnet NuGetKeyVaultSignTool sign $f.FullName --file-digest sha256 --timestamp-rfc3161 http://timestamp.digicert.com --azure-key-vault-managed-identity --azure-key-vault-url ${{ secrets.AZURE_KEYVAULT_URI }} --azure-key-vault-certificate ${{ secrets.CODESIGN_CERT_NAME }}
70+ }
7271 - name : Push to MyGet
7372 if : github.ref == 'refs/heads/main'
7473 env :
You can’t perform that action at this time.
0 commit comments