Trying to fix the OSX build failure

This commit is contained in:
Akshay Joshi 2024-05-15 15:05:59 +05:30
parent 2dcaf0b4ed
commit f833cea0dd

View File

@ -24,6 +24,12 @@ _cleanup() {
_build_runtime() { _build_runtime() {
echo "Assembling the runtime environment..." echo "Assembling the runtime environment..."
echo "Update yarn version..."
corepack enable
yarn set version berry
yarn set version 3
test -d "${BUILD_ROOT}" || mkdir "${BUILD_ROOT}" test -d "${BUILD_ROOT}" || mkdir "${BUILD_ROOT}"
# Get a fresh copy of nwjs. # Get a fresh copy of nwjs.
@ -288,9 +294,6 @@ _complete_bundle() {
# Build node modules # Build node modules
pushd "${SOURCE_DIR}/web" > /dev/null || exit pushd "${SOURCE_DIR}/web" > /dev/null || exit
corepack enable
yarn set version berry
yarn set version 3
yarn install yarn install
yarn run bundle yarn run bundle