Update build.yml

This commit is contained in:
Jai A P
2023-06-21 23:59:14 +05:30
committed by GitHub
parent 75a3e89b1f
commit 2f82fb06b1

View File

@@ -199,15 +199,15 @@ jobs:
apt-get install -y nodejs libfontconfig-dev:${{matrix.arch}} libsecret-1-dev:${{matrix.arch}} libnss3:${{matrix.arch}} libatk1.0-0:${{matrix.arch}} libatk-bridge2.0-0:${{matrix.arch}} libgdk-pixbuf2.0-0:${{matrix.arch}} libgtk-3-0:${{matrix.arch}} libgbm1:${{matrix.arch}}
export CC=${{matrix.triplet}}gcc CXX=${{matrix.triplet}}g++ ARCH=${{matrix.build-arch}}
export npm_config_arch=${{matrix.build-arch}} npm_config_target_arch=${{matrix.build-arch}}
npm i -g yarn node-pre-gyp
yarn --network-timeout 1000000 --arch=${{matrix.arch}}
npm i -g yarn
yarn --network-timeout 1000000 --arch=${{matrix.build-arch}} --target_arch=${{matrix.build-arch}}
cd ./app/node_modules/node-pty
npx node-gyp configure build
cd ../../
echo Rebuilding node-pty
yarn rebuild node-pty
npm rebuild node-pty --arch=${{matrix.build-arch}} --target_arch=${{matrix.build-arch}}
cd ..
yarn run build"
yarn run build --arch=${{matrix.build-arch}} --target_arch=${{matrix.build-arch}}"
if: matrix.build-arch != 'x64'
- name: Prepackage plugins (${{matrix.build-arch}})