调整Action

This commit is contained in:
juewuy
2026-01-20 18:17:09 +08:00
parent cb0142785a
commit ce4953ba75
2 changed files with 4 additions and 4 deletions

View File

@@ -45,7 +45,7 @@ jobs:
# 确认子目录名称 # 确认子目录名称
subdir=$(find "$TEMP/yacd" -maxdepth 1 -type d ! -path "$TEMP/yacd" | head -n1) subdir=$(find "$TEMP/yacd" -maxdepth 1 -type d ! -path "$TEMP/yacd" | head -n1)
# 打包 # 打包
tar -zcvf "$DASH/meta_yacd.tar.gz" -C "$subdir" * > /dev/null tar -zcvf "$DASH/meta_yacd.tar.gz" -C "$subdir" . > /dev/null
######################################## ########################################
# metacubexd # metacubexd
######################################## ########################################
@@ -55,7 +55,7 @@ jobs:
# 确认子目录名称 # 确认子目录名称
subdir=$(find "$TEMP/xd" -maxdepth 1 -type d ! -path "$TEMP/xd" | head -n1) subdir=$(find "$TEMP/xd" -maxdepth 1 -type d ! -path "$TEMP/xd" | head -n1)
# 打包 # 打包
tar -zcvf "$DASH/meta_xd.tar.gz" -C "$subdir" * > /dev/null tar -zcvf "$DASH/meta_xd.tar.gz" -C "$subdir" . > /dev/null
######################################## ########################################
# zashboard # zashboard
######################################## ########################################
@@ -71,7 +71,7 @@ jobs:
# 删除字体文件 # 删除字体文件
find "$ZDIR" \( -name "*.ttf" -o -name "*.woff" -o -name "*.woff2" \) -delete find "$ZDIR" \( -name "*.ttf" -o -name "*.woff" -o -name "*.woff2" \) -delete
echo 'board.zash.run.place' > "$ZDIR/CNAME" echo 'board.zash.run.place' > "$ZDIR/CNAME"
tar -zcvf "$DASH/zashboard.tar.gz" -C "$ZDIR" * > /dev/null tar -zcvf "$DASH/zashboard.tar.gz" -C "$ZDIR" . > /dev/null
######################################## ########################################
# 一步清理所有临时文件(核心) # 一步清理所有临时文件(核心)
######################################## ########################################

View File

@@ -2,7 +2,7 @@ name: core_auto_update
on: on:
schedule: schedule:
- cron: 0 18 * * * - cron: 0 18 */3 * *
workflow_dispatch: workflow_dispatch:
jobs: jobs: