mirror of
https://github.com/diamante0018/ServerList.git
synced 2025-06-29 15:51:52 +00:00
feat: add CI
This commit is contained in:
26
.github/workflows/ci.yml
vendored
Normal file
26
.github/workflows/ci.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: Maven CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: Set up JDK 21
|
||||
uses: actions/setup-java@main
|
||||
with:
|
||||
java-version: '21' # Change this to the required JDK version
|
||||
distribution: 'oracle' # Use Eclipse Temurin distribution
|
||||
cache: maven
|
||||
|
||||
- name: Build with Maven
|
||||
run: mvn clean install
|
Reference in New Issue
Block a user