Commit 052153871 for imagemagick.org
commit 052153871f23006e9c98a65c9565f5aa95ce6b9f
Author: Dirk Lemstra <dirk@lemstra.org>
Date: Fri Nov 20 16:31:10 2026 +0100
Only sign the binaries when we do a release.
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index b3410cdcb..797094920 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -190,6 +190,7 @@ jobs:
nmake release
- name: Sign executables and libraries
+ if: ${{ needs.version.outputs.publish == 'true' }}
uses: ImageMagick/code-signing-action@11c51f7659405bee4dd3529748e1501a0d388911 #v1.0.1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -205,6 +206,7 @@ jobs:
"C:\Program Files (x86)\Inno Setup 6\iscc.exe" Configure\Installer\Inno\ImageMagick.iss
- name: Sign installer
+ if: ${{ needs.version.outputs.publish == 'true' }}
uses: ImageMagick/code-signing-action@11c51f7659405bee4dd3529748e1501a0d388911 #v1.0.1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}
@@ -331,6 +333,7 @@ jobs:
msbuild /m /t:Rebuild /p:Configuration=Release,Platform=${{matrix.architecture}}
- name: Sign executables and libraries
+ if: ${{ needs.version.outputs.publish == 'true' }}
uses: ImageMagick/code-signing-action@11c51f7659405bee4dd3529748e1501a0d388911 #v1.0.1
with:
client-id: ${{ secrets.AZURE_CLIENT_ID }}