From e242020de909968497cb7a85a00332ea809892a2 Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Sun, 6 Aug 2023 00:06:15 +0200 Subject: [PATCH] Use link. --- .github/workflows/windows.yml | 8 ++++++-- src/bin/buildForWindows.sh | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 53fe33d07..2d53a6ea6 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -36,7 +36,9 @@ jobs: - name: Install all dependencies and symlink for ep_etherpad-lite shell: msys2 {0} - run: src/bin/installDeps.sh + run: | + set MSYSTEM=winsymlinks:lnk + src/bin/installDeps.sh - name: Run the backend tests shell: msys2 {0} @@ -44,7 +46,9 @@ jobs: - name: Build the .zip shell: msys2 {0} - run: src/bin/buildForWindows.sh + run: | + set MSYSTEM=winsymlinks:lnk + src/bin/buildForWindows.sh - name: Archive production artifacts uses: actions/upload-artifact@v3 diff --git a/src/bin/buildForWindows.sh b/src/bin/buildForWindows.sh index b2a684b3e..dd5f7ddb4 100755 --- a/src/bin/buildForWindows.sh +++ b/src/bin/buildForWindows.sh @@ -21,7 +21,7 @@ try cd "${workdir}" ls -lisa src/bin ls bin # See https://github.com/msys2/MSYS2-packages/issues/1216 -export MSYSTEM=winsymlinks:native +export MSYSTEM=winsymlinks:lnk OUTPUT=${workdir}/etherpad-win.zip