Skip to content

Commit 3c2d331

Browse files
committed
add github action
1 parent a9df29d commit 3c2d331

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/gradle.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Java CI with Gradle
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ${{ matrix.os }}
13+
14+
strategy:
15+
matrix:
16+
os: [windows-2022, ubuntu-20.04, macos-11]
17+
jdk: ['8', '17']
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: Set up JDK
21+
uses: actions/setup-java@v2
22+
with:
23+
java-version: ${{ matrix.jdk }}
24+
distribution: 'temurin'
25+
- name: Build with Gradle
26+
uses: gradle/gradle-build-action@937999e9cc2425eddc7fd62d1053baf041147db7
27+
with:
28+
arguments: build

0 commit comments

Comments
 (0)