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 0b8858a commit 72d0e04
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 75 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.

27 changes: 20 additions & 7 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,30 @@
name: JDK8
name: Atmopshere 3.x CI

on: [push, pull_request]
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
java-version: [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

0 comments on commit 72d0e04

Please sign in to comment.