Skip to content

Commit 320a645

Browse files
committed
CI: modify build.yml
1 parent b0e9245 commit 320a645

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,16 @@ jobs:
8181
echo "[:us: Change log](https://github.com/KangLin/SerialPortAssistant/blob/${{env.SerialPortAssistant_VERSION}}/ChangeLog.md)" >> ${{github.workspace}}/Release.md
8282
echo "" >> ${{github.workspace}}/Release.md
8383
echo "File checksum:" >> ${{github.workspace}}/Release.md
84+
echo "|File|Checksum(md5)|" >> ${{github.workspace}}/Release.md
85+
echo "| :- | :- |" >> ${{github.workspace}}/Release.md
8486
cd ${{ env.artifact_path }}
8587
for file in *
8688
do
8789
echo "$file"
8890
if [ -f $file ]; then
8991
if [ "${file##*.}" != "xml" ] && [ "${file##*.}" != "json" ]; then
9092
md5sum $file > $file.md5sum
91-
cat $file.md5sum >> ${{github.workspace}}/Release.md
93+
awk '{print "|", $2, "|", $1, "|"}' ${file}.md5sum >> ${{github.workspace}}/Release.md
9294
fi
9395
else
9496
rm -fr $file

0 commit comments

Comments
 (0)