update release action

This commit is contained in:
novice.li 2024-01-20 21:43:51 +08:00
parent 895d4b7236
commit db0a977c76
1 changed files with 2 additions and 4 deletions

View File

@ -2,8 +2,8 @@ name: Maven Build and Release
on: on:
push: push:
branches: tags:
- main - '*'
jobs: jobs:
build: build:
@ -21,11 +21,9 @@ jobs:
- name: Build with Maven - name: Build with Maven
run: mvn clean package run: mvn clean package
release: release:
needs: build needs: build
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Check Latest Release - name: Check Latest Release
id: check_latest_release id: check_latest_release