From 74a3e4dce36f8b83a11beabd8ace2a5e1bc6add6 Mon Sep 17 00:00:00 2001 From: lyc8503 Date: Sun, 4 Aug 2024 19:48:59 +0800 Subject: [PATCH] add CI process for Windows code-signing --- .github/workflows/build.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ffcd87b9..30cca5e8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -220,6 +220,16 @@ jobs: # The entire process is deferred to a shell file for consistency. ./scripts/package/package-deb.sh + - name: Code signing + if: runner.os == 'Windows' + uses: dlemstra/code-sign-action@v1 + with: + certificate: "${{ secrets.CERTIFICATE }}" + password: "${{ secrets.CERTIFICATE_PASSWORD }}" + folder: "dist" + recursive: true + description: "Activity Watch" + - name: Upload packages uses: actions/upload-artifact@v4 with: