mirror of
https://github.com/1204244136/index-X.git
synced 2025-05-02 12:58:14 +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
|
shopt -s nullglob
|
||||||
for dir in EPUB/*/ ; do
|
for dir in EPUB/*/ ; do
|
||||||
name=$(basename "$dir")
|
name=$(basename "$dir")
|
||||||
zip -r "output/epubs/${name}.epub" "$dir"
|
(
|
||||||
|
cd "$dir" && zip -r "../../output/epubs/${name}.epub" ./*
|
||||||
|
)
|
||||||
done
|
done
|
||||||
|
|
||||||
- name: Create merged ZIPs
|
- name: Create merged ZIPs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user