-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (37 loc) · 1.01 KB
/
build.yml
File metadata and controls
38 lines (37 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Nebula Build
on:
push:
branches:
- 'main'
pull_request:
jobs:
buildmultijdk:
runs-on: ubuntu-latest
strategy:
matrix:
# test against latest update of some major Java version(s), as well as specific LTS version(s)
java: [17, 21, 25]
name: Gradle Build without Publish
steps:
- uses: actions/checkout@v4
- name: Setup git user
run: |
git config --global user.name "Nebula Plugin Maintainers"
git config --global user.email "nebula-plugins-oss@netflix.com"
- name: Set up JDKs
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: |
11
21
${{ matrix.java }}
java-package: jdk
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v5
with:
cache-overwrite-existing: true
- name: Gradle build
run: ./gradlew --stacktrace build
env:
JDK_VERSION_FOR_TESTS: ${{ matrix.java }}