Skip to content

Commit 4fd8884

Browse files
committed
add windows cert sign
1 parent 71ee4a0 commit 4fd8884

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,8 @@ jobs:
7474
NO_CERT_INSTALL: "ask_certificates_install=CS" # linux
7575
CHOICE_CERT_INSTALL: "ask_certificates_install=CC" # win,mac:(ff,chrome)
7676
CREATE_OSX_BUNDLED_MG: 1
77+
INSTALLER_CERT_WINDOWS_PASSWORD: ${{ secrets.INSTALLER_CERT_WINDOWS_PASSWORD }}
78+
INSTALLER_CERT_WINDOWS_PFX: "/tmp/ArduinoCerts2020.pfx"
7779

7880
strategy:
7981
fail-fast: false # if one os is failing continue nonetheless
@@ -124,9 +126,13 @@ jobs:
124126
- name: Rename executable to Arduino_Create_Bridge
125127
run: mv ${{ matrix.executable-path }}arduino-create-agent${{ matrix.extension }} ${{ matrix.executable-path }}Arduino_Create_Bridge${{ matrix.extension }}
126128

127-
- name: Save license to file
129+
- name: Save InstallBuilder license to file
128130
run: echo "${{ secrets.INSTALLER_LICENSE }}" > /tmp/license.xml
129131

132+
- name: Save Win signing certificate to file
133+
run: echo "${{ secrets.INSTALLER_CERT_WINDOWS_PFX }}" | base64 --decode > /tmp/ArduinoCerts2020.pfx
134+
if: matrix.operating-system == 'windows-latest'
135+
130136
# win(edge),mac(safari) -> CERT_INSTALL and win,mac:(ff,chrome) -> CHOICE_CERT_INSTALL
131137
- name: Launch Bitrock installbuilder-20 with CERT_INSTALL && CHOICE_CERT_INSTALL
132138
run: |

0 commit comments

Comments
 (0)