summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
blob: 2130aacb9d2d3b3021010cae8085cee220b8ef56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: buildroot

on:
  pull_request:
    types:
      - opened
      - reopened
      - synchronize

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
      - uses: actions/checkout@v4
      - name: Set up JDK 21
        uses: actions/setup-java@v4
        with:
          java-version: '21'
          distribution: 'adopt'
          cache: maven
      - name: Build with maven
        run: |
          cd serverlist-server
          mvn -B package