create release action

This commit is contained in:
novice.li 2024-01-20 21:40:50 +08:00
parent 14c4f04c31
commit 895d4b7236
1 changed files with 2 additions and 14 deletions

View File

@ -44,18 +44,6 @@ jobs:
- name: Create Release - name: Create Release
id: create_release id: create_release
uses: actions/create-release@v1 uses: ncipollo/release-action@v1
with: with:
tag_name: ${{ github.sha }} artifacts: "jetbra-dist/target/jetbra-all.zip"
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