Skip to content

Commit 4533db1

Browse files
committed
devfeat(github): Add action
1 parent 02b1845 commit 4533db1

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Java CI
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
strategy:
8+
matrix:
9+
platform: [ubuntu-latest, macos-latest, windows-latest]
10+
runs-on: ${{ matrix.platform }}
11+
12+
steps:
13+
-
14+
name: Set up repository
15+
uses: actions/checkout@master
16+
17+
-
18+
name: Set up repository
19+
uses: actions/checkout@master
20+
with:
21+
ref: master
22+
23+
-
24+
name: Merge to master
25+
run: git checkout --progress --force ${{ github.sha }}
26+
27+
-
28+
name: Validate Gradle Wrapper
29+
uses: gradle/wrapper-validation-action@v1
30+
31+
-
32+
name: Set up JDK 11
33+
uses: actions/setup-java@v1
34+
with:
35+
java-version: '11'
36+
java-package: jdk+fx
37+
38+
-
39+
name: Build and check with Gradle
40+
run: ./gradlew check

0 commit comments

Comments
 (0)