Skip to content

Create Github workflow #2

Create Github workflow

Create Github workflow #2

Workflow file for this run

name: Maven CI/CD
on:
pull_request:
branches: [ main ]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'oracle'
- name: Build project with Maven
run: mvn -B package --file pom.xml
- uses: actions/upload-artifact@v4
with:
name: Package
path: target/neon-plugins.jar