26 lines
617 B
YAML
26 lines
617 B
YAML
name: Publish Development Build
|
|
on: push
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-java@v2
|
|
with:
|
|
java-version: 16
|
|
distribution: adopt
|
|
- name: Build
|
|
run: |
|
|
chmod +x ./gradlew
|
|
./gradlew build
|
|
- name: Release
|
|
uses: marvinpinto/action-automatic-releases@latest
|
|
with:
|
|
repo_token: '${{ secrets.GITHUB_TOKEN }}'
|
|
automatic_release_tag: latest
|
|
prerelease: true
|
|
title: Dev Build
|
|
files: |
|
|
./build/libs/*.jar
|