From 6311aa75737224192d058ca6e62af57e25e6b5e1 Mon Sep 17 00:00:00 2001 From: Hugo Montero Date: Fri, 3 May 2024 15:27:29 -0600 Subject: [PATCH] install nsis to sign packages --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c983382c4..cce2b35c8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,10 @@ on: branches: [ "master", "feature/cli-installer-v2" ] # should change once we have a stable branch pull_request: branches: [ "master", "feature/cli-installer-v2" ] +env: + PARTICLE_WINDOWS_SIGNING_CERT: ${{ secrets.PARTICLE_WINDOWS_SIGNING_CERT }} + PARTICLE_WINDOWS_SIGNING_PASS: ${{ secrets.PARTICLE_WINDOWS_SIGNING_PASS }} + jobs: call-tests: uses: ./.github/workflows/tests.yml @@ -51,6 +55,9 @@ jobs: - name: Build Package run: npm run build + - name: 'Install makensis (apt)' + run: sudo apt update && sudo apt install -y nsis nsis-pluginapi + - name: Sign Windows package run: | npm run sign:win