This commit is contained in:
parent
341022cd21
commit
8c24ce7d93
@ -75,11 +75,8 @@ jobs:
|
||||
|
||||
- name: 查找 .bin 文件
|
||||
id: find-bin-files
|
||||
env:
|
||||
# 这里的 your_folder_path 要替换为实际的文件夹路径
|
||||
your_folder_path: ./Bin
|
||||
run: |
|
||||
BIN_FILES=$(find your_folder_path -name "test.bin" -print0 | tr '\0' ',')
|
||||
BIN_FILES=$(find ./Bin -name "*.bin" -print0 | tr '\0' ',')
|
||||
BIN_FILES=${BIN_FILES%,} # 移除最后一个逗号
|
||||
echo "bin_files=$BIN_FILES" >> $GITHUB_OUTPUT
|
||||
|
||||
@ -94,3 +91,4 @@ jobs:
|
||||
body: "This is a release created by Gitea Release Action."
|
||||
draft: false
|
||||
prerelease: false
|
||||
files: ${{ steps.find-bin-files.outputs.bin_files }}
|
||||
|
Loading…
Reference in New Issue
Block a user