Skip to content

Merge pull request #10 from atilling/master #8

Merge pull request #10 from atilling/master

Merge pull request #10 from atilling/master #8

Workflow file for this run

name: Build
env:
TERM: xterm-256color
SONATYPE_USER: ${{ secrets.SONATYPE_USER }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
JDK_CURRENT: 11
##########################################################################
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
##########################################################################
jobs:
cancel-previous-runs:
runs-on: ubuntu-latest
timeout-minutes: 1
steps:
- uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
build:
runs-on: ubuntu-latest
# needs: [ build ]
if: ${{ github.event_name == 'push' }}
steps:
- uses: actions/checkout@v2
- name: Set up JDK
uses: actions/setup-java@v1
with:
java-version: ${{ env.JDK_CURRENT }}
- name: Build Project
run: ./gradlew clean build distZip distTar