Skip to content

Commit

Permalink
Create maven-run.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nya-elimu authored Sep 1, 2024
1 parent f138066 commit 5e264c9
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/maven-run.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Maven Build

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
java: [21]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: ${{ matrix.java }}
cache: maven
- run: mvn jetty:run

0 comments on commit 5e264c9

Please sign in to comment.