Skip to content

Commit

Permalink
Consolidate workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Mar 18, 2024
1 parent f781aa8 commit 09a9fa7
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 93 deletions.
17 changes: 0 additions & 17 deletions .github/workflows/maven-11.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/maven-13.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/maven-15.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/maven-17.yml

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/maven-18.yml

This file was deleted.

27 changes: 20 additions & 7 deletions .github/workflows/maven.yml
@@ -1,17 +1,30 @@
name: JDK8
name: Atmosphere

on: [push, pull_request]
on:
push:
branches: [ atmosphere-2.7.x ]
pull_request:
branches: [ atmosphere-2.7.x ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
java-version: [8, 11, 17, 18, 21]

steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
- uses: actions/checkout@v2

- name: Set up JDK ${{ matrix.java-version }}
uses: actions/setup-java@v2
with:
java-version: 1.8
java-version: ${{ matrix.java-version }}
distribution: 'temurin'

- name: Build with Maven
run: mvn -B package --file pom.xml

- name: Test with Maven
run: mvn -B test --file pom.xml
7 changes: 6 additions & 1 deletion README.md
Expand Up @@ -8,8 +8,13 @@ Atmosphere's Java/Scala/Android Client is called [wAsync](https://github.com/Atm

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`

![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)
Atmosphere 2.7.x on JDK 8 up to 21

[![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)

Atmosphere 3.0.x on JDK 18 and 21

[![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)

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

0 comments on commit 09a9fa7

Please sign in to comment.