Skip to content

Changed to more reasonable syntax. #8

Changed to more reasonable syntax.

Changed to more reasonable syntax. #8

Workflow file for this run

name: Build and deploy JAR
on:
push:
branches:
- "*"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Java version
uses: actions/setup-java@v1
with:
java-version: '17'
- name: Run tests
run: ./gradlew test
- name: Build jar
if: success() # only runs if all tests pass
run: ./gradlew bootJar # mvn package work just fine for maven