Skip to content

Commit feb92c3

Browse files
committed
github actions work
1 parent fcce863 commit feb92c3

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
buildAndPublish:
99
runs-on: ubuntu-latest
10-
container: openjdk:8u131-jdk
10+
container: 8u282-b08-jdk-hotspot
1111
env:
1212
BINTRAY_USER: ${{ secrets.BINTRAY_USER }}
1313
BINTRAY_API_KEY: ${{ secrets.BINTRAY_API_KEY }}
@@ -20,5 +20,5 @@ jobs:
2020
uses: actions/setup-java@v1
2121
with:
2222
java-version: 1.8
23-
- name: Build with Gradle
23+
- name: build test and publish
2424
run: ./gradlew assemble && ./gradlew check --info && ./gradlew bintrayUpload -x check --info

.github/workflows/pull_request.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Pull Request Build
2+
# For pull requests: builds and test
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
branches:
9+
- master
10+
jobs:
11+
buildAndPublish:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Set up JDK 1.8
16+
uses: actions/setup-java@v1
17+
with:
18+
java-version: 1.8
19+
- name: build and test
20+
run: ./gradlew assemble && ./gradlew check --info

0 commit comments

Comments
 (0)