thorp/.github/workflows/maven-build.yml
Paul Campbell 7185e3e4e6
Use automatic-releases github action (#466)
* maven-build creates dev-build release

* Delete release-drafter.yml

* Delete release-drafter.yml

* sonatype-deploy creates release for v* tags
2020-06-21 08:56:49 +01:00

34 lines
916 B
YAML

# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: maven-build
on:
push:
branches: '*'
pull_request:
branches: '*'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ 8 ]
steps:
- uses: kamiazya/setup-graphviz@v1
- uses: actions/checkout@v2
- name: setup-jdk-${{ matrix.java }}
uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: build-jar
run: mvn -B install
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
automatic_release_tag: "latest"
prerelease: true
title: "Development Build"
files: |
app/target/thorp-*.jar