This commit is contained in:
手瓜一十雪 2024-04-15 01:11:29 +08:00 committed by GitHub
parent 096ea84af6
commit 0588541357
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,9 +73,16 @@ jobs:
- name: Download All Artifact
uses: actions/download-artifact@v4
- name: Compress subdirectories
run: |
for dir in */; do
base=$(basename "$dir")
zip -r "${base}.zip" "$dir"
done
- name: Create Release Draft and Upload Artifacts
uses: softprops/action-gh-release@v1
with:
token: ${{ secrets.NAPCAT_BUILD }}
files: |
NapCat.win32.amd64.zip
NapCat.linux.amd64.zip