Skip to content

Commit 1ca0005

Browse files
authored
Add jetty GHA workflows (#236)
* Create jetty.yml
1 parent d00ccc6 commit 1ca0005

File tree

4 files changed

+54
-4
lines changed

4 files changed

+54
-4
lines changed

.github/workflows/jdk-ea.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@ jobs:
3838
key: build-${{ env.cache-name }}
3939
- name: Build with Maven
4040
run: mvn clean test
41-

.github/workflows/jetty.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
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 -Pjetty

.github/workflows/robaho.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,3 @@ jobs:
3535
key: build-${{ env.cache-name }}
3636
- name: Build with Maven
3737
run: mvn clean test -Probaho
38-
39-

avaje-jex/pom.xml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
35
<modelVersion>4.0.0</modelVersion>
46
<parent>
57
<groupId>io.avaje</groupId>
@@ -78,5 +80,19 @@
7880
</dependency>
7981
</dependencies>
8082
</profile>
83+
<profile>
84+
<id>jetty</id>
85+
<activation>
86+
<activeByDefault>false</activeByDefault>
87+
</activation>
88+
<dependencies>
89+
<dependency>
90+
<groupId>org.eclipse.jetty</groupId>
91+
<artifactId>jetty-http-spi</artifactId>
92+
<version>12.0.19</version>
93+
<scope>test</scope>
94+
</dependency>
95+
</dependencies>
96+
</profile>
8197
</profiles>
8298
</project>

0 commit comments

Comments
 (0)