From 8cae74a2f3c8576c70d69dfe2deea82bb36b3c4e Mon Sep 17 00:00:00 2001 From: whhe Date: Fri, 22 Oct 2021 14:02:20 +0800 Subject: [PATCH] add maven build workflow (#7) --- .github/workflows/maven_build.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/maven_build.yml diff --git a/.github/workflows/maven_build.yml b/.github/workflows/maven_build.yml new file mode 100644 index 0000000..677c17d --- /dev/null +++ b/.github/workflows/maven_build.yml @@ -0,0 +1,23 @@ +name: Maven Build + +on: + push: + branches: + - master + pull_request: + branches: + - master + +jobs: + build: + name: Maven Build + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Set up JDK 8 + uses: actions/setup-java@v2 + with: + java-version: '8' + distribution: 'zulu' + - name: Build with Maven + run: mvn clean package -- GitLab