diff --git a/.github/workflows/java21.yaml b/.github/workflows/java21.yaml new file mode 100644 index 0000000..c569b9f --- /dev/null +++ b/.github/workflows/java21.yaml @@ -0,0 +1,17 @@ +name: Java 21 +on: + - push + - workflow_dispatch +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Azul JDK 21 + uses: actions/setup-java@v3 + with: + java-version: 21 + distribution: 'zulu' + cache: 'maven' + - name: Build with Maven + run: mvn --no-transfer-progress -B test \ No newline at end of file diff --git a/README.md b/README.md index 0fced91..b15b80d 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ Crux by Fizzed [![Java 8](https://img.shields.io/github/actions/workflow/status/fizzed/crux/java8.yaml?branch=master&label=Java%208&style=flat-square)](https://github.com/fizzed/crux/actions/workflows/java8.yaml) [![Java 11](https://img.shields.io/github/actions/workflow/status/fizzed/crux/java11.yaml?branch=master&label=Java%2011&style=flat-square)](https://github.com/fizzed/crux/actions/workflows/java11.yaml) [![Java 17](https://img.shields.io/github/actions/workflow/status/fizzed/crux/java17.yaml?branch=master&label=Java%2017&style=flat-square)](https://github.com/fizzed/crux/actions/workflows/java17.yaml) +[![Java 21](https://img.shields.io/github/actions/workflow/status/fizzed/crux/java21.yaml?branch=master&label=Java%2021&style=flat-square)](https://github.com/fizzed/crux/actions/workflows/java21.yaml) [![Linux x64](https://img.shields.io/github/actions/workflow/status/fizzed/crux/java11.yaml?branch=master&label=Linux%20x64&style=flat-square)](https://github.com/fizzed/crux/actions/workflows/java11.yaml) [![MacOS x64](https://img.shields.io/github/actions/workflow/status/fizzed/crux/macos-x64.yaml?branch=master&label=MacOS%20x64&style=flat-square)](https://github.com/fizzed/crux/actions/workflows/macos-x64.yaml)