Skip to content

Commit bc4f035

Browse files
committed
add osslsigncode binary to sign win exec
1 parent 6311aa7 commit bc4f035

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ env:
1010
PARTICLE_WINDOWS_SIGNING_PASS: ${{ secrets.PARTICLE_WINDOWS_SIGNING_PASS }}
1111

1212
jobs:
13-
call-tests:
14-
uses: ./.github/workflows/tests.yml
15-
secrets: inherit
13+
#call-tests:
14+
# uses: ./.github/workflows/tests.yml
15+
# secrets: inherit
1616
build:
17-
needs: call-tests
17+
#needs: call-tests
1818
runs-on: ubuntu-latest # Choose an appropriate runner
1919
steps:
2020
- uses: actions/checkout@v3
@@ -58,6 +58,16 @@ jobs:
5858
- name: 'Install makensis (apt)'
5959
run: sudo apt update && sudo apt install -y nsis nsis-pluginapi
6060

61+
- name: Download and unzip osslsigncode binary
62+
run: |
63+
mkdir osslsigncode
64+
curl -LJO https://github.com/mtrojnar/osslsigncode/releases/download/2.6/osslsigncode-2.6-ubuntu-20.04.zip
65+
unzip osslsigncode-2.6-ubuntu-20.04.zip -d osslsigncode
66+
chmod +x osslsigncode/osslsigncode
67+
- name: Add osslsigncode to PATH
68+
run: |
69+
echo "export PATH=\$PATH:$(pwd)/osslsigncode" >> $GITHUB_ENV
70+
6171
- name: Sign Windows package
6272
run: |
6373
npm run sign:win

0 commit comments

Comments
 (0)