Release v1.3.4 测试标题
All checks were successful
自动版本发布 / AutoRelease (push) Successful in 15s

This commit is contained in:
iorebuild 2025-04-10 23:15:27 +08:00
parent cc0fc445f5
commit 7b8a6e1e5a
3 changed files with 22 additions and 3 deletions

View File

@ -73,10 +73,29 @@ jobs:
- name: 查找 .bin 文件
id: find-bin-files
run: |
BIN_FILES=$(find ./Bin -name "*.bin" -print0 | tr '\0' ',')
BIN_FILES=${BIN_FILES%,} # 移除最后一个逗号
# 定义要查找的路径列表,你可以根据需要修改这些路径
PATHS=("./Bin" "./Bin1" "./Bin2")
BIN_FILES=""
for path in "${PATHS[@]}"; do
if [ -d "$path" ]; then
# 在当前路径下查找 .bin 文件
current_files=$(find "$path" -name "*.bin" -print0 | tr '\0' ',')
current_files=${current_files%,} # 移除最后一个逗号
if [ -n "$current_files" ]; then
if [ -z "$BIN_FILES" ]; then
BIN_FILES="$current_files"
else
BIN_FILES="$BIN_FILES,$current_files"
fi
fi
else
echo "$path 目录不存在。"
fi
done
if [ -z "$BIN_FILES" ]; then
echo "未在指定目录下找到任何 .bin 文件。"
fi
echo "bin_files=$BIN_FILES" >> $GITHUB_OUTPUT
echo "bin_files=$BIN_FILES"
- name: 获取上次发布标签
id: get-previous-tag

Binary file not shown.

Binary file not shown.