Compare commits

5 Commits

Author SHA1 Message Date
32bc49a38f docs: 添加Star History 2025-04-22 12:02:52 +08:00
a6e3cd0911 perf: 添加 paths 过滤器 2025-04-22 12:02:06 +08:00
213bbd35e5 Update build-epub-release.yml
允许手动触发
2025-04-12 13:49:42 +08:00
39f4b262c3 Merge pull request #12 from BienBoy/master
fix: 解决打包epub时多余的目录层级
2025-04-12 01:42:50 +08:00
f3f3617d1b fix: 解决打包epub时多余的目录层级 2025-04-11 23:40:38 +08:00
2 changed files with 10 additions and 1 deletions

View File

@ -4,6 +4,9 @@ on:
push:
branches:
- master
paths:
- 'EPUB/**'
workflow_dispatch:
jobs:
release-epubs:
@ -23,7 +26,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

View File

@ -175,3 +175,7 @@ Chansey
支持X系列作者**知一一**
- 点亮该项目右上角的小星星⭐,让更多人看到
- 在群里提出更多有用的建议✏️
## Star History
[![Star History Chart](https://api.star-history.com/svg?repos=1204244136/index-X&type=Date)](https://www.star-history.com/#1204244136/index-X&Date)