24 lines
531 B
YAML
24 lines
531 B
YAML
name: publish
|
|
|
|
on:
|
|
release:
|
|
types: [created]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: checkout repository
|
|
uses: actions/checkout@v2
|
|
- name: set up java
|
|
uses: actions/setup-java@v1
|
|
with:
|
|
java-version: '11'
|
|
- name: build with maven
|
|
run: mvn --batch-mode --file pom.xml package
|
|
- name: upload to release
|
|
uses: skx/github-action-publish-binaries@master
|
|
env:
|
|
GITHUB_TOKEN: ${{ github.token }}
|
|
with:
|
|
args: 'bundle/target/*.ear'
|