chore: generate release automatically

This commit is contained in:
Siyuan Miao 2025-09-25 16:55:04 +00:00
parent 83caa8f82d
commit 0baf6be8b5
1 changed files with 21 additions and 1 deletions

View File

@ -48,4 +48,24 @@ jobs:
name: jetkvm-app
path: |
bin/jetkvm_app
device-tests.tar.gz
device-tests.tar.gz
release:
runs-on: ubuntu-latest
name: Release
needs: build
if: startsWith(github.ref, 'refs/tags/')
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download artifacts
uses: actions/download-artifact@v4
- name: Draft release
uses: softprops/action-gh-release@v2
with:
# need review before making a real release
draft: true
files: bin/jetkvm_app
fail_on_unmatched_files: true
tag_name: ${{ github.ref }}
name: ${{ github.ref }}
generate_release_notes: true