From bb1ecb2a4c402eddccb5c9ea9cf38d300ac6be8f Mon Sep 17 00:00:00 2001 From: gy2006 <32008001@qq.com> Date: Sat, 14 Dec 2024 23:19:52 +0100 Subject: [PATCH] setup github action --- .github/workflows/ci.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/ci.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 000000000..15433212f --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,23 @@ +name: flow.ci + +on: + push: + branches: + - feature/* + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Git Clone + uses: actions/checkout@v4 + + - name: Set up JDK 21 + uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'corretto' + cache: maven + + - name: Build with Maven + run: ./mvnw test \ No newline at end of file