vcsjones / AzureSignTool

SignTool Library and Azure Key Vault Support
MIT License
267 stars 85 forks source link

My create github actions type composite #263

Closed corentin35000 closed 1 month ago

corentin35000 commented 1 month ago

Good morning,

I created a github actions, using the pre-compiled binary of v5.0 of AzureSignTool, to be able to easily sign this in my CI / CD. But I'm facing a problem that I don't understand :

Running AzureSignTool with the following command (running github actions) :

& D:\a_actions\CrzGames\azure-signtool-action\v1.2.2/binarie/AzureSignTool.exe sign D:\a\test\test\dist\mygame-test D:\a\test\test\dist\mygame-test\mygame-test.exe D:\a\test\test\dist\mygame-test\SDL2_image.dll D:\a\test\test\dist\mygame-test\SDL2_mixer.dll D:\a\test\test\dist\mygame-test\SDL2_ttf.dll D:\a\test\test\dist\mygame-test\SDL2.dll --azure-key-vault-url https://xxx.vault.azure.net/ --azure-key-vault-certificate xxx --azure-key-vault-client-id --azure-key-vault-client-secret --azure-key-vault-tenant-id *** --timestamp-rfc3161 http://timestamp.digicert.com/ --timestamp-digest sha512 --file-digest sha512

One of '--azure-key-vault-accesstoken', '--azure-key-vault-client-id' or '--azure-key-vault-managed-identity' must be supplied. Specify --help for a list of available options and commands. Error: Process completed with exit code 1.

Informations : However I specify the parameter: azure-key-vault-client-id In addition to that I use the same command locally on my PC it works very well.