fix(ci): don't re-declare MAGE/SIGNTOOL env (overwrites GITHUB_ENV value)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-05-11 16:40:44 +00:00
parent 95abb8b667
commit 02685ec7e8
+4 -2
View File
@@ -211,10 +211,12 @@ jobs:
THUMB: ${{ secrets.CODESIGN_THUMBPRINT }}
PFX_B64: ${{ secrets.CODESIGN_CERT_PFX_BASE64 }}
PFX_PWD: ${{ secrets.CODESIGN_CERT_PASSWORD }}
MAGE: ${{ env.MAGE }}
SIGNTOOL: ${{ env.SIGNTOOL }}
VERSION: ${{ steps.ver.outputs.version }}
VERSION_USCORE: ${{ steps.ver.outputs.versionUscore }}
# NOTE: MAGE and SIGNTOOL come from $GITHUB_ENV set by the "Resolve"
# step earlier; do NOT redeclare them here -- a passthrough like
# `MAGE: ${{ env.MAGE }}` evaluates at parse time and overwrites
# the runtime value with empty.
run: |
$ErrorActionPreference = 'Continue'
Start-Transcript -Path publish.console.log -IncludeInvocationHeader -Force