From 470e471cad08a761847ffbbbdc606131ab6991a7 Mon Sep 17 00:00:00 2001 From: EricZeng Date: Wed, 5 Jul 2023 16:12:12 +0800 Subject: [PATCH] =?UTF-8?q?=C2=A0=E6=96=B0=E5=A2=9Ebuild-all.yml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-all.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/build-all.yml diff --git a/.github/workflows/build-all.yml b/.github/workflows/build-all.yml new file mode 100644 index 00000000..5a380619 --- /dev/null +++ b/.github/workflows/build-all.yml @@ -0,0 +1,28 @@ +name: Build All + +on: + push: + branches: [ "master" ] + pull_request: + branches: [ "master" ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 11 + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' + cache: maven + - name: Setup Node + uses: actions/setup-node@v1 + with: + node-version: '12.22.12' + - name: Build with Maven + run: mvn -U clean package -Dmaven.test.skip=true +