This commit is contained in:
parent
99c12772f5
commit
341022cd21
@ -73,6 +73,16 @@ jobs:
|
|||||||
-m "Release ${{ steps.extract_version.outputs.version }}"
|
-m "Release ${{ steps.extract_version.outputs.version }}"
|
||||||
git push origin ${{ steps.extract_version.outputs.version }}
|
git push origin ${{ steps.extract_version.outputs.version }}
|
||||||
|
|
||||||
|
- 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=${BIN_FILES%,} # 移除最后一个逗号
|
||||||
|
echo "bin_files=$BIN_FILES" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: 创建Gitea发布
|
- name: 创建Gitea发布
|
||||||
uses: https://gitea.com/actions/gitea-release-action@main
|
uses: https://gitea.com/actions/gitea-release-action@main
|
||||||
with:
|
with:
|
||||||
|
0
Bin/test.bin
Normal file
0
Bin/test.bin
Normal file
Loading…
Reference in New Issue
Block a user