diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 361de26ab..198389652 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -39,6 +39,8 @@ jobs: - name: Install all dependencies and symlink for ep_etherpad-lite shell: msys2 {0} run: src/bin/installDeps.sh + - name: Install tar + run: pacman -S tar - name: Build the .zip shell: msys2 {0} run: src/bin/buildForWindows.sh diff --git a/src/bin/buildForWindows.sh b/src/bin/buildForWindows.sh index d9a4d9468..8d183efc3 100755 --- a/src/bin/buildForWindows.sh +++ b/src/bin/buildForWindows.sh @@ -28,7 +28,6 @@ TMP_FOLDER=$(try mktemp -d) || exit 1 trap 'exit 1' HUP INT TERM trap 'log "cleaning up..."; try cd / && try rm -rf "${TMP_FOLDER}"' EXIT -rm bin tests node_modules/ep_etherpad-lite log "create a clean environment in $TMP_FOLDER..." try git archive --format=tar HEAD | (try cd "${TMP_FOLDER}" && try tar xf -) \ || fatal "failed to copy etherpad to temporary folder"