From deb4e77afb28283de7e2092016a2f04ae5d3e962 Mon Sep 17 00:00:00 2001 From: yapsh1008 Date: Wed, 23 Apr 2025 10:48:32 +0800 Subject: [PATCH] Add CI pipeline with GitHub Actions --- .github/workflows/ci.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..7e46c7dda --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,21 @@ +name: Java CI + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Set up JDK 17 + uses: actions/setup-java@v3 + with: + java-version: '17' + distribution: 'temurin' + - name: Build with Maven + run: mvn clean install