From c49b43ad9a42858115b357ffdc7f1552992a46ae Mon Sep 17 00:00:00 2001 From: Joel Challis Date: Wed, 15 Mar 2023 14:29:46 +0000 Subject: [PATCH] Sign installer --- .github/workflows/build.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 739563d..0322dfe 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -103,6 +103,19 @@ jobs: shell: 'bash {0}' run: | iscc installer/install.iss //DMyAppVersion=${VERSION:-0.0.0} + + - uses: dlemstra/code-sign-action@v1 + if: github.event_name != 'pull_request' + with: + certificate: '${{ secrets.WINDOWS_CERTIFICATE }}' + password: '${{ secrets.WINDOWS_CERTIFICATE_PASSWORD }}' + folder: './windows' + files: | + QMK_WSL.exe + + - name: Create Hash + shell: 'bash {0}' + run: | sha256sum .build/QMK_WSL.exe > .build/QMK_WSL.exe.sha256 - uses: actions/upload-artifact@v3