Skip to content

Commit ad45d4f

Browse files
update check-certificates.yml
1 parent aa9b10d commit ad45d4f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/check-certificates.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,9 @@ jobs:
7575
certificate-secret: APPLE_SIGNING_CERTIFICATE_P12 # Name of the secret that contains the certificate.
7676
password-secret: KEYCHAIN_PASSWORD # Name of the secret that contains the certificate password.
7777
- identifier: Windows signing certificate
78-
certificate-secret: WINDOWS_SIGNING_CERTIFICATE_PFX
79-
password-secret: WINDOWS_SIGNING_CERTIFICATE_PASSWORD
78+
certificate-secret: INSTALLER_CERT_WINDOWS_CER
79+
# The password for the Windows certificate is not needed, because its not a container, but a single certificate.
80+
type: x509
8081

8182
steps:
8283
- name: Set certificate path environment variable
@@ -95,7 +96,7 @@ jobs:
9596
CERTIFICATE_PASSWORD: ${{ secrets[matrix.certificate.password-secret] }}
9697
run: |
9798
(
98-
openssl pkcs12 \
99+
openssl ${{ matrix.certificate.type }} \
99100
-in "${{ env.CERTIFICATE_PATH }}" \
100101
-legacy \
101102
-noout \

0 commit comments

Comments
 (0)