Skip to content

Commit 0424eb9

Browse files
committed
Create jetty.yml
1 parent 4df8de1 commit 0424eb9

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/jetty.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
2+
name: Jetty
3+
4+
on:
5+
push:
6+
pull_request:
7+
workflow_dispatch:
8+
9+
jobs:
10+
build:
11+
runs-on: ${{ matrix.os }}
12+
permissions:
13+
contents: read
14+
packages: write
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
java_version: [21]
19+
os: [ubuntu-latest]
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
- name: Set up JDK
24+
uses: actions/setup-java@v4
25+
with:
26+
java-version: ${{ matrix.java_version }}
27+
distribution: 'zulu'
28+
- name: Maven cache
29+
uses: actions/cache@v4
30+
env:
31+
cache-name: maven-cache
32+
with:
33+
path:
34+
~/.m2
35+
key: build-${{ env.cache-name }}
36+
- name: Build with Maven
37+
run: mvn clean test -DargLine="-Dcom.sun.net.httpserver.HttpServerProvider=org.eclipse.jetty.http.spi.JettyHttpServerProvider"
38+
39+

0 commit comments

Comments
 (0)