Skip to content

Commit 72d0e04

Browse files
committed
Consolidate workflow
1 parent 0b8858a commit 72d0e04

File tree

5 files changed

+20
-75
lines changed

5 files changed

+20
-75
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.yml

+20-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,30 @@
1-
name: JDK8
1+
name: Atmopshere 3.x CI
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
48

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

13+
strategy:
14+
matrix:
15+
java-version: [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

0 commit comments

Comments
 (0)