mirror of
https://github.com/YuleBest/FontMM.git
synced 2026-12-04 03:11:48 +08:00
ci: 修复快照包被打包两遍的问题
This commit is contained in:
1 parent
31f91e6f06
commit
bfa4809d34
1 file changed
+4
-1
@@ -38,7 +38,10 @@ jobs:
|
||||
|
||||
echo "Generated Filename: $FILENAME"
|
||||
|
||||
# 打包外层,排除掉源码目录 template/template/,保留生成的 template/template.zip
|
||||
# 4. 清理根目录下可能存在的旧 zip 文件(避免重复打包)
|
||||
rm -f ./*.zip
|
||||
|
||||
# 5. 打包外层,排除掉源码目录 template/template/,保留生成的 template/template.zip
|
||||
zip -r -9 "$FILENAME" . -x "*.git*" ".github*" "template/template/*"
|
||||
|
||||
echo "ZIP_PATH=$FILENAME" >> $GITHUB_ENV
|
||||
|
||||
Reference in new issue
Block a user