File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed
Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 1111
1212jobs :
1313 build :
14-
1514 runs-on : ubuntu-latest
16-
1715 steps :
1816 - uses : actions/checkout@v2
1917 - name : Set up JDK 1.11
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 : Publish to Maven Central
5+
6+ on :
7+ release :
8+ types : [created]
9+
10+ jobs :
11+ build :
12+ runs-on : ubuntu-latest
13+ steps :
14+ - uses : actions/checkout@v2
15+ - name : Set up JDK 1.11
16+ uses : actions/setup-java@v1
17+ with :
18+ java-version : 1.11
19+ - name : Grant execute permission for gradlew
20+ run : chmod +x gradlew
21+ - name : Build with Gradle
22+ run : ./gradlew build
23+ - name : Build with Gradle
24+ run : ./gradlew publish
You can’t perform that action at this time.
0 commit comments