From b0cf1634c16a4b5126ee0590275a86529c15c11f Mon Sep 17 00:00:00 2001 From: SamTV12345 <40429738+samtv12345@users.noreply.github.com> Date: Sat, 5 Aug 2023 22:49:15 +0200 Subject: [PATCH] Install updated tar exe. --- .github/workflows/windows.yml | 2 ++ src/bin/buildForWindows.sh | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) 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"