mirror of
https://github.com/1204244136/index-X.git
synced 2025-05-02 04:48:15 +08:00
fix: 解决打包epub时多余的目录层级
This commit is contained in:
parent
79465867b5
commit
f3f3617d1b
4
.github/workflows/build-epub-release.yml
vendored
4
.github/workflows/build-epub-release.yml
vendored
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user