精简 Release 产物并使用内置摘要
This commit is contained in:
1 parent
83c6427bdd
commit
357b3aa65d
4 files changed
+69
-27
No files matched your search
@@ -761,16 +761,13 @@ jobs:
|
||||
tar -czf "release/$ASSET" -C package .
|
||||
tar -tzf "release/$ASSET" >/dev/null
|
||||
fi
|
||||
(cd release && sha256sum "$ASSET" > "$ASSET.sha256")
|
||||
- uses: actions/attest@1e69f48acb82d1966a394da916b4c1698aa569d6 # v4
|
||||
with:
|
||||
subject-path: release/${{ matrix.asset }}
|
||||
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: server-bundle-${{ matrix.binary }}
|
||||
path: |
|
||||
release/${{ matrix.asset }}
|
||||
release/${{ matrix.asset }}.sha256
|
||||
path: release/${{ matrix.asset }}
|
||||
if-no-files-found: error
|
||||
|
||||
release:
|
||||
@@ -804,10 +801,14 @@ jobs:
|
||||
printf '\n' >> CHANGELOG.md
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
pattern: agent-*
|
||||
path: release-assets
|
||||
merge-multiple: true
|
||||
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
pattern: server-bundle-*
|
||||
path: release-assets
|
||||
merge-multiple: true
|
||||
- name: Include installer
|
||||
run: cp install.sh install.ps1 release-assets/
|
||||
- uses: softprops/action-gh-release@3d0d9888cb7fd7b750713d6e236d1fcb99157228 # v3.0.3
|
||||
with:
|
||||
body_path: CHANGELOG.md
|
||||
|
||||
Reference in new issue
Block a user