Skip to content

Commit 1981ffc

Browse files
committed
fix: GitHub Actions release workflow secret condition syntax
- Wrap secret checks in ${{ }} for proper expression parsing - Fixes Unrecognized named-value: secrets error - Affects Sign executable and Sign installer steps
1 parent 8eacefd commit 1981ffc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
6161
# ── 6. Code-sign exe (skipped if secret not configured) ──────────────
6262
- name: Sign executable
63-
if: secrets.CODESIGN_CERT_BASE64 != ''
63+
if: ${{ secrets.CODESIGN_CERT_BASE64 != '' }}
6464
shell: pwsh
6565
env:
6666
CERT_BASE64: ${{ secrets.CODESIGN_CERT_BASE64 }}
@@ -136,7 +136,7 @@ jobs:
136136
137137
# ── 10. Sign installer ───────────────────────────────────────────────
138138
- name: Sign installer
139-
if: secrets.CODESIGN_CERT_BASE64 != ''
139+
if: ${{ secrets.CODESIGN_CERT_BASE64 != '' }}
140140
shell: pwsh
141141
env:
142142
CERT_BASE64: ${{ secrets.CODESIGN_CERT_BASE64 }}

0 commit comments

Comments
 (0)