update release action
This commit is contained in:
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
@@ -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: |
|
||||
@@ -64,4 +60,4 @@ jobs:
|
||||
id: create_release
|
||||
uses: ncipollo/release-action@v1
|
||||
with:
|
||||
artifacts: "jetbra-dist/target/jetbra-all.zip"
|
||||
artifacts: "jetbra-dist/target/jetbra-all.zip"
|
Reference in New Issue
Block a user