File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments