Skip to content

Commit bf22f19

Browse files
committed
2021-07-27 v. 1.0.1: added GitHub Action workflow
1 parent f77b53c commit bf22f19

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

.github/workflows/build.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Build
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
env:
10+
GRADLE_OPTS: -Dorg.gradle.daemon=false
11+
12+
jobs:
13+
build:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Set up JDK 1.8
18+
uses: actions/setup-java@v1
19+
with:
20+
java-version: 1.8
21+
- name: Build with Gradle
22+
run: ./gradlew build

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ You can run plugin as Gradle task:
4646
Read [Commit Convention](https://github.com/fartem/repository-rules/blob/master/commit-convention/COMMIT_CONVENTION.md). Make sure your build is green before you contribute your pull request. Then:
4747

4848
```shell
49-
./gradlew clean build
49+
$ ./gradlew clean
50+
$ ./gradlew build
5051
```
5152

5253
## Contributors

0 commit comments

Comments
 (0)