The error message refers to osslsigncode, but checks for signtool.
|
if [ "${{ steps.code-sign-action-internal.outputs.signtool }}" != "codesign" ]; then |
|
echo "::error::You must specify osslsigncode, keylocker or smctl as your signtool! You specified ${{ steps.code-sign-action-internal.outputs.signtool }}." |
|
if [ "${{ steps.code-sign-action-internal.outputs.signtool }}" != "signtool" ] \ |
|
&& [ "${{ steps.code-sign-action-internal.outputs.signtool }}" != "keylocker" ] \ |
|
&& [ "${{ steps.code-sign-action-internal.outputs.signtool }}" != "smctl" ]; then |
|
echo "::error::You must specify osslsigncode, keylocker or smctl as your signtool! You specified ${{ steps.code-sign-action-internal.outputs.signtool }}." |
Also,
|
Note that signing is **not supported** on `linux` because you cannot sign binary files on Linux and it is not required for binaries to be signed anyway. |
says you can't sign on Linux, but I use
osslsigncode to sign on Linux. Perhaps this action could be expanded to use
osslsigncode to sign on Linux?
If you are open to that idea, I can look into submitting a PR for your review.
The error message refers to
osslsigncode, but checks forsigntool.code-sign-action/action.yml
Lines 251 to 252 in a5703d3
code-sign-action/action.yml
Lines 266 to 269 in a5703d3
Also,
code-sign-action/README.md
Line 9 in a5703d3
says you can't sign on Linux, but I use
osslsigncodeto sign on Linux. Perhaps this action could be expanded to useosslsigncodeto sign on Linux?If you are open to that idea, I can look into submitting a PR for your review.