From 13fe706716a383e12b47c0458324580b6b12b84c Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Fri, 15 Nov 2019 13:09:53 -0500 Subject: windows build github action --- bin/build-electron | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'bin/build-electron') diff --git a/bin/build-electron b/bin/build-electron index d8ce78b8..1b90b556 100755 --- a/bin/build-electron +++ b/bin/build-electron @@ -1,11 +1,10 @@ #!/bin/bash -if [ "$BUILD" = "windows" -o "$BUILD" = "linux" ]; then - if [ "$BUILD" = "windows" ]; then - args="-w --ia32" - else - args="-l --x64" - fi +if [ "$BUILD" = "windows" ]; then + cd electron + yarn --link-duplicates --pure-lockfile && yarn run dist -w --ia32 +elif [ "$BUILD" = "linux" ]; then + args="-l --x64" docker run --rm \ -e ELECTRON_CACHE=$HOME/.cache/electron \ -- cgit v1.2.3