mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-04-19 12:57:17 +00:00
use bail var in custom sign script
This commit is contained in:
parent
3ccc864453
commit
96e48936d7
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@ -286,6 +286,7 @@ jobs:
|
||||
SIGNTOOL_PATH: "C:/Program Files (x86)/Windows Kits/10/bin/10.0.19041.0/x86/signtool.exe"
|
||||
WIN_CERT_PASSWORD: ${{ secrets.INSTALLER_CERT_WINDOWS_PASSWORD }}
|
||||
WIN_CERT_CONTAINER_NAME: ${{ secrets.INSTALLER_CERT_WINDOWS_CONTAINER }}
|
||||
INTERNAL_ENABLE_WINDOWS_SIGNING: ${{ secrets.INTERNAL_ENABLE_WINDOWS_SIGNING }}
|
||||
strategy:
|
||||
matrix:
|
||||
config: ${{ fromJson(needs.select-targets.outputs.build-matrix) }}
|
||||
|
@ -1,7 +1,9 @@
|
||||
const childProcess = require('child_process');
|
||||
|
||||
exports.default = async function (configuration) {
|
||||
if (!process.env.GITHUB_ACTIONS) {
|
||||
const enabled = !!process.env.INTERNAL_ENABLE_WINDOWS_SIGNING;
|
||||
|
||||
if (!enabled || !process.env.GITHUB_ACTIONS) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user