diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 710096c1..ca27cedf 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 @@ -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/') }}