From ca16c67742e5af8f37ba8259ea72f2e49186304b Mon Sep 17 00:00:00 2001 From: Schuyler Cohen Date: Sat, 20 Jan 2024 12:49:01 -0500 Subject: [PATCH] Add compile java action --- .github/workflows/compile-java.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/compile-java.yml diff --git a/.github/workflows/compile-java.yml b/.github/workflows/compile-java.yml new file mode 100644 index 0000000..a81b505 --- /dev/null +++ b/.github/workflows/compile-java.yml @@ -0,0 +1,19 @@ +name: compile-java + +on: + push: + branches-ignore: [ "Master" ] + pull_request: + branches: [ "Master" ] +jobs: + compile: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + + - name: Compile Java + run: | + chmod +x ./gradlew + ./gradlew build + shell: bash