Commit 58459cd2 for tesseract
commit 58459cd2dfc407b24cb35819f505d620ca461534
Author: Stefan Weil <sw@weilnetz.de>
Date: Sat Jun 20 07:04:35 2026 +0200
ci: Update GitHub action installer-for-windows
The installer artifact is now no longer zipped.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
diff --git a/.github/workflows/installer-for-windows.yml b/.github/workflows/installer-for-windows.yml
index f9614202..58993231 100644
--- a/.github/workflows/installer-for-windows.yml
+++ b/.github/workflows/installer-for-windows.yml
@@ -24,4 +24,5 @@ jobs:
- uses: actions/upload-artifact@v7
with:
name: Tesseract Installer for Windows (64 bit)
- path: dist
+ path: bin/ndebug/x86_64-w64-mingw32/nsis/tesseract-ocr-w*-setup-*.exe
+ archive: false
diff --git a/nsis/build.sh b/nsis/build.sh
index 22d0e021..eae64f18 100755
--- a/nsis/build.sh
+++ b/nsis/build.sh
@@ -2,7 +2,7 @@
# GitHub actions - Create Tesseract installer for Windows
-# Author: Stefan Weil (2010-2024)
+# Author: Stefan Weil (2010-2026)
set -e
set -x
@@ -19,10 +19,9 @@ else
fi
ROOTDIR=$PWD
-DISTDIR=$ROOTDIR/dist
HOST=$ARCH-w64-mingw32
TAG=$(cat VERSION).$(date +%Y%m%d)
-BUILDDIR=bin/ndebug/$HOST-$TAG
+BUILDDIR=bin/ndebug/$HOST
PKG_ARCH=mingw-w64-${ARCH/_/-}
# Install packages.
@@ -106,6 +105,3 @@ ln -sv $("$ROOTDIR/nsis/find_deps.py" "$MINGW_INSTALL"/bin/*.exe "$MINGW_INSTALL
ln -svf /usr/lib/gcc/x86_64-w64-mingw32/*-win32/libstdc++-6.dll dll/
ln -svf /usr/lib/gcc/x86_64-w64-mingw32/*-win32/libgcc_s_seh-1.dll dll/
make winsetup prefix="$MINGW_INSTALL"
-
-# Copy result for upload.
-mkdir -p "$DISTDIR" && cp nsis/tesseract-ocr-w*-setup-*.exe "$DISTDIR"