Skip to content

Commit

Permalink
add osslsigncode binary to sign win exec
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomontero committed May 5, 2024
1 parent 6311aa7 commit 7e4508b
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ env:
PARTICLE_WINDOWS_SIGNING_PASS: ${{ secrets.PARTICLE_WINDOWS_SIGNING_PASS }}

jobs:
call-tests:
uses: ./.github/workflows/tests.yml
secrets: inherit
#call-tests:
# uses: ./.github/workflows/tests.yml
# secrets: inherit
build:
needs: call-tests
#needs: call-tests
runs-on: ubuntu-latest # Choose an appropriate runner
steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -58,6 +58,16 @@ jobs:
- name: 'Install makensis (apt)'
run: sudo apt update && sudo apt install -y nsis nsis-pluginapi

- name: Download and unzip osslsigncode binary
run: |
mkdir osslsigncode
curl -LJO https://github.com/mtrojnar/osslsigncode/releases/download/2.6/osslsigncode-2.6-ubuntu-20.04.zip
unzip osslsigncode-2.6-ubuntu-20.04.zip -d osslsigncode
chmod +x osslsigncode/bin/osslsigncode
- name: Add osslsigncode to PATH
run: |
echo "export PATH=\$PATH:$(pwd)/osslsigncode/bin" >> $GITHUB_ENV
- name: Sign Windows package
run: |
npm run sign:win
Expand Down

0 comments on commit 7e4508b

Please sign in to comment.