Release v1.9.1 测试md5
This commit is contained in:
parent
eb9bf07005
commit
0128150a83
@ -95,11 +95,17 @@ jobs:
|
|||||||
git tag -a ${{ steps.extract_version.outputs.version }} -m "Release ${{ steps.extract_version.outputs.version }}"
|
git tag -a ${{ 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: 创建md5文件
|
||||||
|
id: touch-md5-file
|
||||||
|
run: |
|
||||||
|
touch md5.txt
|
||||||
|
|
||||||
- name: 查找第1个.bin 文件
|
- name: 查找第1个.bin 文件
|
||||||
id: find-bin-files-1
|
id: find-bin-files-1
|
||||||
run: |
|
run: |
|
||||||
BIN_FILES=$(find ./Bin -name "*.bin" -print0 | tr '\0' ',')
|
BIN_FILES=$(find ./Bin -name "*.bin" -print0 | tr '\0' ',')
|
||||||
BIN_FILES=${BIN_FILES%,}
|
BIN_FILES=${BIN_FILES%,}
|
||||||
|
md5sum BIN_FILES >> md5.txt
|
||||||
echo "bin_files=$BIN_FILES" >> $GITHUB_OUTPUT
|
echo "bin_files=$BIN_FILES" >> $GITHUB_OUTPUT
|
||||||
echo "bin_files=$BIN_FILES"
|
echo "bin_files=$BIN_FILES"
|
||||||
- name: 查找第2个.bin 文件
|
- name: 查找第2个.bin 文件
|
||||||
@ -107,14 +113,22 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
BIN_FILES=$(find ./Bin1 -name "*.bin" -print0 | tr '\0' ',')
|
BIN_FILES=$(find ./Bin1 -name "*.bin" -print0 | tr '\0' ',')
|
||||||
BIN_FILES=${BIN_FILES%,}
|
BIN_FILES=${BIN_FILES%,}
|
||||||
|
md5sum BIN_FILES >> md5.txt
|
||||||
echo "bin_files=$BIN_FILES" >> $GITHUB_OUTPUT
|
echo "bin_files=$BIN_FILES" >> $GITHUB_OUTPUT
|
||||||
- name: 查找第3个.bin 文件
|
- name: 查找第3个.bin 文件
|
||||||
id: find-bin-files-3
|
id: find-bin-files-3
|
||||||
run: |
|
run: |
|
||||||
BIN_FILES=$(find ./Bin2 -name "*.bin" -print0 | tr '\0' ',')
|
BIN_FILES=$(find ./Bin2 -name "*.bin" -print0 | tr '\0' ',')
|
||||||
BIN_FILES=${BIN_FILES%,}
|
BIN_FILES=${BIN_FILES%,}
|
||||||
|
md5sum BIN_FILES >> md5.txt
|
||||||
echo "bin_files=$BIN_FILES" >> $GITHUB_OUTPUT
|
echo "bin_files=$BIN_FILES" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
|
- name: 输出md5文件
|
||||||
|
id: output-md5-file
|
||||||
|
run: |
|
||||||
|
MD5_FILE=md5.txt
|
||||||
|
echo "md5_result=$MD5_FILE" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: 获取上次发布标签
|
- name: 获取上次发布标签
|
||||||
id: get-previous-tag
|
id: get-previous-tag
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user