Skip to content

Commit 0d9dd3e

Browse files
Merge remote-tracking branch 'origin/master'
2 parents c2367ca + 432e2b7 commit 0d9dd3e

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/gradle.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Java CI
2+
3+
on:
4+
pull_request:
5+
branches-ignore: 'gh-pages'
6+
push:
7+
branches-ignore: 'gh-pages'
8+
9+
jobs:
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v1
16+
- uses: actions/cache@v1
17+
with:
18+
path: ~/.gradle/caches
19+
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
20+
restore-keys: |
21+
${{ runner.os }}-gradle-
22+
- name: Set up JDK 1.8
23+
uses: actions/setup-java@v1
24+
with:
25+
java-version: 1.8
26+
- name: Build with Gradle
27+
run: ./gradlew build -PbinariesOnly
28+
- name: Rename artifacts
29+
run: mv build/libs/region-manipulator-*.jar build/libs/region-manipulator.jar
30+
- name: Archive artifacts
31+
uses: actions/upload-artifact@v1
32+
if: success()
33+
with:
34+
name: Region-Manipulator
35+
path: build/libs/region-manipulator.jar

0 commit comments

Comments
 (0)