update release action

This commit is contained in:
novice.li 2024-01-20 22:14:49 +08:00
parent 967f747c96
commit 22d3039616
1 changed files with 5 additions and 9 deletions

View File

@ -6,9 +6,10 @@ on:
- main
jobs:
build:
release:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout Repository
uses: actions/checkout@v2
@ -21,12 +22,7 @@ jobs:
- name: Build with Maven
run: mvn clean package
release:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Check Latest Release
id: check_latest_release
run: |