Skip to content

Commit

Permalink
CI: modify build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Feb 5, 2024
1 parent d3519b2 commit e85b8b7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@ jobs:
run: |
git clone https://github.com/KangLin/RabbitCommon.git
./RabbitCommon/Install/MergeJsonFile.sh \
${{ github.workspace }}/update.json \
version.json \
${{ env.artifact_path }}
"${{ github.workspace }}/update.json" \
"${{ env.artifact_path }}" "${{ env.artifact_path }}/version.json"
rm ${{ env.artifact_path }}/*.json
- name: Make Note.md file
Expand All @@ -86,9 +85,13 @@ jobs:
md5sum $file > $file.md5sum
cat $file.md5sum >> ${{github.workspace}}/Note.md
fi
if [ -d $file ]; then
rm -fr $file
fi
done
echo "" >> ${{github.workspace}}/Note.md
echo "Get file signatures in linux: md5sum $file" >> ${{github.workspace}}/Note.md
echo "得到文件签名(在 linux 中): md5sum file" >> ${{github.workspace}}/Note.md
echo "Get file signatures in linux: md5sum file" >> ${{github.workspace}}/Note.md
- name: Upload To Github Release
#if: ${{ startsWith(github.ref, 'refs/tags/') }}
Expand Down

0 comments on commit e85b8b7

Please sign in to comment.