From f3f3617d1b992905d8810184782107426b25fcbc Mon Sep 17 00:00:00 2001 From: BienBoy <285915362@qq.com> Date: Fri, 11 Apr 2025 23:40:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E6=89=93=E5=8C=85epub?= =?UTF-8?q?=E6=97=B6=E5=A4=9A=E4=BD=99=E7=9A=84=E7=9B=AE=E5=BD=95=E5=B1=82?= =?UTF-8?q?=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-epub-release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-epub-release.yml b/.github/workflows/build-epub-release.yml index 852660f..1486c47 100644 --- a/.github/workflows/build-epub-release.yml +++ b/.github/workflows/build-epub-release.yml @@ -23,7 +23,9 @@ jobs: shopt -s nullglob for dir in EPUB/*/ ; do name=$(basename "$dir") - zip -r "output/epubs/${name}.epub" "$dir" + ( + cd "$dir" && zip -r "../../output/epubs/${name}.epub" ./* + ) done - name: Create merged ZIPs