From 2f6eecdc96fcd693cecef8011d8f9500c7872fc7 Mon Sep 17 00:00:00 2001 From: Denis Shienkov Date: Mon, 29 Mar 2021 18:15:17 +0300 Subject: codesign: Long live `signtool` signing on Windows Change-Id: I320cd1a1f3d8a1eed11d1c70007214f19a109b6e Reviewed-by: Christian Kandeler Reviewed-by: Ivan Komissarov --- .github/workflows/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.github/workflows/main.yml') diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 29f737a1e..953f19949 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -625,6 +625,12 @@ jobs: qbs config defaultProfile qt qbs config --list shell: bash + - name: Setup self-signed certificate + run: | + New-SelfSignedCertificate -DnsName qbs@community.test -Type CodeSigning -CertStoreLocation cert:\CurrentUser\My + Export-Certificate -Cert (Get-ChildItem Cert:\CurrentUser\My -CodeSigningCert)[0] -FilePath qbs-code-signing.crt + Import-Certificate -FilePath .\qbs-code-signing.crt -CertStoreLocation Cert:\CurrentUser\TrustedPublisher + shell: powershell - name: Run Tests run: ${{ matrix.config.script }} ./release/install-root/bin shell: bash -- cgit v1.2.3