Add CI pipeline with GitHub Actions

This commit is contained in:
yapsh1008 2025-04-23 10:48:32 +08:00
parent 51bd4342a7
commit deb4e77afb

21
.github/workflows/ci.yml vendored Normal file
View file

@ -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