-
Notifications
You must be signed in to change notification settings - Fork 8
32 lines (27 loc) · 1.03 KB
/
gradle.yml
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
name: Java CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
env:
# see https://www.jetbrains.com/idea/download/previous.html
# and https://www.jetbrains.com/intellij-repository/snapshots/
- IDEA_VERSION: IU-2022.2
KOTLIN_VERSION: 1.6.21
#- IDEA_VERSION: IU-2023.1
# KOTLIN_VERSION: 1.8.0
- IDEA_VERSION: IU-2023.3.3
KOTLIN_VERSION: 1.9.10
- IDEA_VERSION: IU-LATEST-EAP-SNAPSHOT
KOTLIN_VERSION: 1.9.10
steps:
- uses: actions/checkout@v1
- name: Set up JDK 17
uses: actions/setup-java@v1
with:
java-version: 17
- name: Build with Gradle
run: ./gradlew build -PideaVersion=${IDEA_VERSION} -PkotlinVersion=${KOTLIN_VERSION}
env: ${{ matrix.env }}