Skip to content

Commit 09a9fa7

Browse files
committed
Consolidate workflow
1 parent f781aa8 commit 09a9fa7

File tree

7 files changed

+26
-93
lines changed

7 files changed

+26
-93
lines changed

.github/workflows/maven-11.yml

-17
This file was deleted.

.github/workflows/maven-13.yml

-17
This file was deleted.

.github/workflows/maven-15.yml

-17
This file was deleted.

.github/workflows/maven-17.yml

-17
This file was deleted.

.github/workflows/maven-18.yml

-17
This file was deleted.

.github/workflows/maven.yml

+20-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,30 @@
1-
name: JDK8
1+
name: Atmosphere
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [ atmosphere-2.7.x ]
6+
pull_request:
7+
branches: [ atmosphere-2.7.x ]
48

59
jobs:
610
build:
7-
811
runs-on: ubuntu-latest
912

13+
strategy:
14+
matrix:
15+
java-version: [8, 11, 17, 18, 21]
16+
1017
steps:
11-
- uses: actions/checkout@v1
12-
- name: Set up JDK 1.8
13-
uses: actions/setup-java@v1
18+
- uses: actions/checkout@v2
19+
20+
- name: Set up JDK ${{ matrix.java-version }}
21+
uses: actions/setup-java@v2
1422
with:
15-
java-version: 1.8
23+
java-version: ${{ matrix.java-version }}
24+
distribution: 'temurin'
25+
1626
- name: Build with Maven
1727
run: mvn -B package --file pom.xml
28+
29+
- name: Test with Maven
30+
run: mvn -B test --file pom.xml

README.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,13 @@ Atmosphere's Java/Scala/Android Client is called [wAsync](https://github.com/Atm
88

99
Main development branch is [atmosphere-2.7.x](https://github.com/Atmosphere/atmosphere/tree/atmosphere-2.7.x). Jakarta support is supported on branch `main`
1010

11-
![JDK8](https://github.com/Atmosphere/atmosphere/workflows/JDK8/badge.svg) ![JDK11](https://github.com/Atmosphere/atmosphere/workflows/JDK11/badge.svg) ![JDK13](https://github.com/Atmosphere/atmosphere/workflows/JDK13/badge.svg) ![JDK15](https://github.com/Atmosphere/atmosphere/workflows/JDK15/badge.svg) ![JDK17](https://github.com/Atmosphere/atmosphere/workflows/JDK17/badge.svg) ![JDK18](https://github.com/Atmosphere/atmosphere/workflows/JDK18/badge.svg)
11+
Atmosphere 2.7.x on JDK 8 up to 21
1212

13+
[![Atmopshere 2.7.x](https://github.com/Atmosphere/atmosphere/actions/workflows/maven.yml/badge.svg?branch=atmosphere-2.7.x)](https://github.com/Atmosphere/atmosphere/actions/workflows/maven.yml)
14+
15+
Atmosphere 3.0.x on JDK 18 and 21
16+
17+
[![Atmopshere 3.0.x](https://github.com/Atmosphere/atmosphere/actions/workflows/maven.yml/badge.svg?branch=main)](https://github.com/Atmosphere/atmosphere/actions/workflows/maven.yml)
1318

1419
### Commercial support
1520
Commercial Support is available via [Async-IO.org](http://async-io.org)

0 commit comments

Comments
 (0)