File tree Expand file tree Collapse file tree 2 files changed +57
-0
lines changed
Expand file tree Collapse file tree 2 files changed +57
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a Java project with Gradle
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3+
4+ name : Release
5+
6+ on :
7+ push :
8+ branches : [ master ]
9+ pull_request :
10+ branches : [ master ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ - name : Set up JDK 1.8
20+ uses : actions/setup-java@v1
21+ with :
22+ java-version : 1.8
23+ - name : Grant execute permission for gradlew
24+ run : chmod +x gradlew
25+ - name : Build with Gradle
26+ run : ./gradlew build
27+ - name : Publish
28+ env :
29+ BINTRAY_USER : ${{ secrets.BINTRAY_USER }}
30+ BINTRY_API_KEY : ${{ secrets.BINTRY_API_KEY }}
31+ run : ./gradlew bintrayUpload
Original file line number Diff line number Diff line change 1+ # This workflow will build a Java project with Gradle
2+ # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
3+
4+ name : Java CI with Gradle
5+
6+ on :
7+ push :
8+ branches : [ master ]
9+ pull_request :
10+ branches : [ master ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - uses : actions/checkout@v2
19+ - name : Set up JDK 1.8
20+ uses : actions/setup-java@v1
21+ with :
22+ java-version : 1.8
23+ - name : Grant execute permission for gradlew
24+ run : chmod +x gradlew
25+ - name : Build with Gradle
26+ run : ./gradlew build
You can’t perform that action at this time.
0 commit comments