From 895d4b723630c07606ed84dd42a3df17392696e2 Mon Sep 17 00:00:00 2001 From: "novice.li" Date: Sat, 20 Jan 2024 21:40:50 +0800 Subject: [PATCH] create release action --- .github/workflows/release.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0946a2d..7d1099c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,18 +44,6 @@ jobs: - name: Create Release id: create_release - uses: actions/create-release@v1 + uses: ncipollo/release-action@v1 with: - tag_name: ${{ github.sha }} - release_name: Release ${{ github.sha }} - draft: false - prerelease: false - - - name: Upload ZIP to Release - id: upload_release_asset - uses: actions/upload-release-asset@v1 - with: - upload_url: ${{ steps.create_release.outputs.upload_url }} - asset_path: ./jetbra-dist/target/jetbra-all.zip - asset_name: jetbra-all.zip - asset_content_type: application/zip + artifacts: "jetbra-dist/target/jetbra-all.zip"