Skip to content

Commit

Permalink
Support GH Actions var to disable code-signing
Browse files Browse the repository at this point in the history
  • Loading branch information
g-bougard committed Jun 16, 2023
1 parent b26b74b commit 39255c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
echo "VERSION: $VERSION"
make
make strip
if [ -n "$CODESIGN_COMMAND" ]; then
if [ -n "$CODESIGN_COMMAND" -a "${{ vars.WIN32_SIGNING }}" != "no" ]; then
read SHA1 XXX <<<$(sha1sum dmidecode.exe)
printf "Before signing %6s: %s\n" SHA1 $SHA1
read SHA256 XXX <<<$(sha256sum dmidecode.exe)
Expand Down

0 comments on commit 39255c1

Please sign in to comment.