Skip to content

Commit 4762825

Browse files
authored
Added Gradle CI Workflow
1 parent 670f01d commit 4762825

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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:
9+
- main
10+
- release/*
11+
pull_request:
12+
branches:
13+
- main
14+
15+
jobs:
16+
build:
17+
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/checkout@v2
22+
- name: Set up JDK 1.8
23+
uses: actions/setup-java@v1
24+
with:
25+
java-version: 1.8
26+
- name: Grant execute permission for gradlew
27+
run: chmod +x gradlew
28+
- name: Build with Gradle
29+
run: ./gradlew build

0 commit comments

Comments
 (0)