File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Java CI
2-
3- on : [push]
4-
1+ name : Master Build
2+ # For master push: Builds and publishes the development version to bintray/maven
3+ on :
4+ push :
5+ branches :
6+ - master
57jobs :
6- build :
7-
8+ buildAndPublish :
89 runs-on : ubuntu-latest
10+ container : openjdk:8u131-jdk
11+ env :
12+ BINTRAY_USER=${{ secrets.BINTRAY_USER }}
13+ BINTRAY_API_KEY=${{ secrets.BINTRAY_API_KEY }}
14+ MAVEN_CENTRAL_USER=${{ secrets.MAVEN_CENTRAL_USER }}
15+ MAVEN_CENTRAL_PASSWORD=${{ secrets.MAVEN_CENTRAL_PASSWORD }}
916
1017 steps :
11- - uses : actions/checkout@v1
12- - name : Set up JDK 1.8
13- uses : actions/setup-java@v1
14- with :
15- java-version : 1.8
16- - name : Build with Gradle
17- run : ./gradlew build
18+ - uses : actions/checkout@v1
19+ - name : Set up JDK 1.8
20+ uses : actions/setup-java@v1
21+ with :
22+ java-version : 1.8
23+ - name : Build with Gradle
24+ run : ./gradlew assemble && ./gradlew check --info && ./gradlew bintrayUpload -x check --info"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments