patch: CI test and publish without debug to prevent issues with xxhash-addon

This commit is contained in:
JOASSART Edwin 2023-12-11 23:36:45 +01:00 committed by Edwin Joassart
parent ba68bb1ea2
commit d861e963df
2 changed files with 8 additions and 6 deletions

View File

@ -104,9 +104,10 @@ runs:
shell: bash
# IMPORTANT: before making changes to this step please consult @engineering in balena's chat.
run: |
if [[ '${{ inputs.VERBOSE }}' =~ on|On|Yes|yes|true|True ]]; then
export DEBUG='electron-forge:*,sidecar'
fi
## FIXME: causes issues with `xxhash` which tries to load a debug build which doens't exist and cannot be compiled
# if [[ '${{ inputs.VERBOSE }}' =~ on|On|Yes|yes|true|True ]]; then
# export DEBUG='electron-forge:*,sidecar'
# fi
APPLICATION_VERSION="$(jq -r '.version' package.json)"

View File

@ -49,9 +49,10 @@ runs:
- name: Test release
shell: bash
run: |
if [[ '${{ inputs.VERBOSE }}' =~ on|On|Yes|yes|true|True ]]; then
export DEBUG='electron-forge:*,sidecar'
fi
## FIXME: causes issues with `xxhash` which tries to load a debug build which doens't exist and cannot be compiled
# if [[ '${{ inputs.VERBOSE }}' =~ on|On|Yes|yes|true|True ]]; then
# export DEBUG='electron-forge:*,sidecar'
# fi
runner_os="$(echo "${RUNNER_OS}" | tr '[:upper:]' '[:lower:]')"