Files
sweetgum-server/.github/workflows/run-build.yml
2024-05-09 11:45:16 +02:00

21 lines
436 B
YAML

# This workflow will build a Java project with Maven
name: Run build
on:
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 21
uses: actions/setup-java@v3
with:
java-version: '21'
distribution: 'corretto'
- name: Build with Maven (compile -> test -> package)
run: mvn -B package --file pom.xml