mirror of
https://github.com/noviceli/jetbra
synced 2024-11-22 13:16:24 +03:00
update release action
This commit is contained in:
parent
967f747c96
commit
22d3039616
1 changed files with 5 additions and 9 deletions
14
.github/workflows/release.yml
vendored
14
.github/workflows/release.yml
vendored
|
@ -6,9 +6,10 @@ on:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
release:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
|
@ -21,12 +22,7 @@ jobs:
|
||||||
|
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn clean package
|
run: mvn clean package
|
||||||
release:
|
|
||||||
needs: build
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
permissions:
|
|
||||||
contents: write
|
|
||||||
steps:
|
|
||||||
- name: Check Latest Release
|
- name: Check Latest Release
|
||||||
id: check_latest_release
|
id: check_latest_release
|
||||||
run: |
|
run: |
|
||||||
|
@ -64,4 +60,4 @@ jobs:
|
||||||
id: create_release
|
id: create_release
|
||||||
uses: ncipollo/release-action@v1
|
uses: ncipollo/release-action@v1
|
||||||
with:
|
with:
|
||||||
artifacts: "jetbra-dist/target/jetbra-all.zip"
|
artifacts: "jetbra-dist/target/jetbra-all.zip"
|
Loading…
Add table
Reference in a new issue