From 0128150a8372d793fe9eba72003d46cc20bdfef5 Mon Sep 17 00:00:00 2001 From: iorebuild Date: Thu, 15 May 2025 12:56:17 +0800 Subject: [PATCH] =?UTF-8?q?Release=20v1.9.1=20=E6=B5=8B=E8=AF=95md5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/AutoRelease.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.gitea/workflows/AutoRelease.yaml b/.gitea/workflows/AutoRelease.yaml index 549d374..4eeffde 100644 --- a/.gitea/workflows/AutoRelease.yaml +++ b/.gitea/workflows/AutoRelease.yaml @@ -94,12 +94,18 @@ jobs: run: | git tag -a ${{ steps.extract_version.outputs.version }} -m "Release ${{ 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 文件 id: find-bin-files-1 run: | BIN_FILES=$(find ./Bin -name "*.bin" -print0 | tr '\0' ',') BIN_FILES=${BIN_FILES%,} + md5sum BIN_FILES >> md5.txt echo "bin_files=$BIN_FILES" >> $GITHUB_OUTPUT echo "bin_files=$BIN_FILES" - name: 查找第2个.bin 文件 @@ -107,14 +113,22 @@ jobs: run: | BIN_FILES=$(find ./Bin1 -name "*.bin" -print0 | tr '\0' ',') BIN_FILES=${BIN_FILES%,} + md5sum BIN_FILES >> md5.txt echo "bin_files=$BIN_FILES" >> $GITHUB_OUTPUT - name: 查找第3个.bin 文件 id: find-bin-files-3 run: | BIN_FILES=$(find ./Bin2 -name "*.bin" -print0 | tr '\0' ',') BIN_FILES=${BIN_FILES%,} + md5sum BIN_FILES >> md5.txt 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: 获取上次发布标签 id: get-previous-tag run: |