Skip to content

Commit 27e3449

Browse files
committed
Use gradle-build-action
1 parent ef9c5b9 commit 27e3449

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
name: Build
2-
on: [push, pull_request]
2+
on: [ push, pull_request ]
33

44
jobs:
55
build:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
java: ['11', '17']
9+
java: [ '11', '17' ]
1010
steps:
1111
- uses: actions/checkout@v3
1212
- name: Setup JDK
1313
uses: actions/setup-java@v3
1414
with:
1515
distribution: 'temurin'
1616
java-version: ${{ matrix.java }}
17+
- uses: gradle/gradle-build-action@v2
1718
- name: Build
1819
run: ./gradlew :server:build :shared:build

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
with:
1515
distribution: 'temurin'
1616
java-version: '11'
17+
- uses: gradle/gradle-build-action@v2
1718
- name: Build distribution
1819
run: ./gradlew :server:distZip :grammars:distZip
1920
- name: Create release

0 commit comments

Comments
 (0)