From 3a88724d8f95466b90797e08324085e6317879ea Mon Sep 17 00:00:00 2001 From: lucaronin Date: Sat, 6 Jun 2026 12:06:17 +0200 Subject: [PATCH] test: update stable signing bypass guard --- src/utils/releaseDownloadPage.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/releaseDownloadPage.test.ts b/src/utils/releaseDownloadPage.test.ts index 474b6a86..54f41026 100644 --- a/src/utils/releaseDownloadPage.test.ts +++ b/src/utils/releaseDownloadPage.test.ts @@ -64,7 +64,9 @@ describe('release workflow macOS artifact names', () => { ) expect(alphaWorkflow).toContain('require_windows_authenticode: false') - expect(stableWorkflow).toContain("require_windows_authenticode: ${{ needs.version.outputs.tag != 'v2026-06-01' }}") + expect(stableWorkflow).toContain( + `require_windows_authenticode: \${{ !contains(fromJson('["v2026-06-01","v2026-06-06"]'), needs.version.outputs.tag) }}`, + ) expect(artifactWorkflow).toContain('require_windows_authenticode:') expect(artifactWorkflow).toContain('WINDOWS_CODE_SIGNING_CERTIFICATE') expect(artifactWorkflow).toContain('WINDOWS_CERTIFICATE')