From 04826edd3b9c5e48b5ae0e7a086a0082450ffaa1 Mon Sep 17 00:00:00 2001 From: John McLear Date: Thu, 22 Jun 2023 01:45:11 +0100 Subject: [PATCH] github action fix for windows build (#5737) * github action fix for windows build * cypress pathing --- .github/workflows/windows.yml | 2 +- src/bin/buildForWindows.sh | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a30e19606..bcd8532a3 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -115,7 +115,7 @@ jobs: etherpad/src/bin/doc/package-lock.json - name: Install Cypress - run: cd src && npm install cypress + run: cd etherpad && cd src && npm install cypress - name: Run Etherpad run: | diff --git a/src/bin/buildForWindows.sh b/src/bin/buildForWindows.sh index 3d04fff72..4b7b75761 100755 --- a/src/bin/buildForWindows.sh +++ b/src/bin/buildForWindows.sh @@ -19,6 +19,9 @@ workdir=$(try git rev-parse --show-toplevel) || exit 1 try cd "${workdir}" [ -f src/package.json ] || fatal "failed to cd to etherpad root directory" +# See https://github.com/msys2/MSYS2-packages/issues/1216 +export MSYS=winsymlinks:lnk + OUTPUT=${workdir}/etherpad-win.zip TMP_FOLDER=$(try mktemp -d) || exit 1