Skip to content

Commit a77b551

Browse files
committed
Add github action for building
1 parent e82609b commit a77b551

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# This workflow will build a Java project with Gradle
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3+
4+
name: Java CI with Gradle
5+
6+
on:
7+
push:
8+
branches: [ master ]
9+
pull_request:
10+
branches: [ master ]
11+
12+
jobs:
13+
build:
14+
env:
15+
ORG_GRADLE_PROJECT_ideaVersion: "${{ matrix.idea_version }}"
16+
ORG_GRADLE_PROJECT_phpPluginVersion: "${{ matrix.php_plugin_version }}"
17+
ORG_GRADLE_PROJECT_psiViewerPluginVersion: "${{ matrix.psi_viewer_plugin_version }}"
18+
ORG_GRADLE_PROJECT_grammarKitPluginVersion: "${{ matrix.grammar_kit_plugin_version }}"
19+
ORG_GRADLE_PROJECT_customSinceBuild: "${{ matrix.since_build }}"
20+
ORG_GRADLE_PROJECT_customUntilBuild: "${{ matrix.until_build }}"
21+
22+
runs-on: ubuntu-latest
23+
24+
strategy:
25+
matrix:
26+
include:
27+
- idea_version: "IU-2020.2"
28+
php_plugin_version: "202.6397.94"
29+
psi_viewer_plugin_version: "202-SNAPSHOT"
30+
grammar_kit_plugin_version: "2020.2.1"
31+
since_build: "202"
32+
until_build: "202.*"
33+
34+
steps:
35+
- uses: actions/checkout@v2
36+
- name: Set up JDK 1.8
37+
uses: actions/setup-java@v1
38+
with:
39+
java-version: 1.8
40+
- name: Grant execute permission for gradlew
41+
run: chmod +x gradlew
42+
- name: Build with Gradle
43+
run: ./gradlew build

0 commit comments

Comments
 (0)