Skip to content

Commit

Permalink
github action fix for windows build (#5737)
Browse files Browse the repository at this point in the history
* github action fix for windows build

* cypress pathing
  • Loading branch information
JohnMcLear committed Jun 22, 2023
1 parent 9708093 commit 04826ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
3 changes: 3 additions & 0 deletions src/bin/buildForWindows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 04826ed

Please sign in to comment.