File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : Build
2
- on : [push, pull_request]
2
+ on : [ push, pull_request ]
3
3
4
4
jobs :
5
5
build :
6
6
runs-on : ubuntu-latest
7
7
strategy :
8
8
matrix :
9
- java : ['11', '17']
9
+ java : [ '11', '17' ]
10
10
steps :
11
11
- uses : actions/checkout@v3
12
12
- name : Setup JDK
13
- uses : actions/setup-java@v2
13
+ uses : actions/setup-java@v3
14
14
with :
15
15
distribution : ' temurin'
16
16
java-version : ${{ matrix.java }}
17
+ - uses : gradle/gradle-build-action@v2
17
18
- name : Build
18
19
run : ./gradlew :server:build :shared:build
Original file line number Diff line number Diff line change 7
7
jobs :
8
8
deploy :
9
9
runs-on : ubuntu-latest
10
+ if : github.repository == 'fwcd/kotlin-language-server'
10
11
steps :
11
12
- uses : actions/checkout@v3
12
13
- name : Setup JDK
13
- uses : actions/setup-java@v2
14
+ uses : actions/setup-java@v3
14
15
with :
15
16
distribution : ' temurin'
16
17
java-version : ' 11'
18
+ - uses : gradle/gradle-build-action@v2
17
19
- name : Build distribution
18
20
run : ./gradlew :server:distZip :grammars:distZip
19
21
- name : Create release
You can’t perform that action at this time.
0 commit comments