From 359d12307b4c9ef8c9c581ac8153d47c9ea4f6c3 Mon Sep 17 00:00:00 2001 From: Jeff Xiang Date: Mon, 6 Nov 2023 17:40:12 -0500 Subject: [PATCH] Add build action upon PR --- .github/workflows/maven.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 0000000..827cdfb --- /dev/null +++ b/.github/workflows/maven.yml @@ -0,0 +1,16 @@ +name: PSC-Java Build + +on: [pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Set up JDK 1.8 + uses: actions/setup-java@v1 + with: + java-version: 1.8 + - name: Build with Maven + run: mvn -B package --file pom.xml \ No newline at end of file