mirror of
https://github.com/diamante0018/ServerList.git
synced 2025-04-23 20:35:43 +00:00
27 lines
506 B
YAML
27 lines
506 B
YAML
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
|