From 54609af5e843301280934e2da11f0bbbd0ec118a Mon Sep 17 00:00:00 2001 From: John McLear Date: Wed, 21 Jun 2023 13:50:47 +0100 Subject: [PATCH 1/2] github action fix for windows build --- src/bin/buildForWindows.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bin/buildForWindows.sh b/src/bin/buildForWindows.sh index 3d04fff7236..4b7b7576171 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 From b248195ab27614f887a7163ec1315b87999a1212 Mon Sep 17 00:00:00 2001 From: John McLear Date: Wed, 21 Jun 2023 14:20:36 +0100 Subject: [PATCH 2/2] cypress pathing --- .github/workflows/windows.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index a30e1960625..bcd8532a3d2 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: |