File tree Expand file tree Collapse file tree 4 files changed +27
-5
lines changed
Expand file tree Collapse file tree 4 files changed +27
-5
lines changed Original file line number Diff line number Diff line change 1919 - name : Set up JDK 1.8
2020 uses : actions/setup-java@v3
2121 with :
22- java-version : ' 8.0.332+9 '
23- distribution : ' adopt '
22+ java-version : ' 8'
23+ distribution : ' temurin '
2424 - name : Grant execute permission for gradlew
2525 run : chmod +x gradlew
2626 - name : Build with Gradle
Original file line number Diff line number Diff line change 1+ name : Publish package to the Maven Central Repository
2+ on :
3+ release :
4+ types : [ created ]
5+ jobs :
6+ publish :
7+ runs-on : ubuntu-latest
8+ steps :
9+ - uses : actions/checkout@v3
10+ - name : Set up JDK 1.8
11+ uses : actions/setup-java@v3
12+ with :
13+ java-version : ' 8'
14+ distribution : ' temurin'
15+ cache : gradle
16+ - name : Publish with Gradle
17+ env :
18+ ORG_GRADLE_PROJECT_sonatypePassword : ${{ secrets.OSSRH_PASSWORD }}
19+ ORG_GRADLE_PROJECT_sonatypeUsername : ${{ secrets.OSSRH_USERNAME }}
20+ ORG_GRADLE_PROJECT_signingKey : ${{ secrets.OSSRH_GPG_SECRET_KEY }}
21+ ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.OSSRH_GPG_SECRET_PASSPHRASE }}
22+ run : ./gradlew publishToSonatype --no-daemon
Original file line number Diff line number Diff line change @@ -12,15 +12,15 @@ kotlin-openapi3-dsl is available on maven central
1212### gradle
1313
1414``` groovy
15- compile "cc.vileda:kotlin-openapi3-dsl:1.3.0 "
15+ compile "cc.vileda:kotlin-openapi3-dsl:1.3.1 "
1616```
1717
1818### maven
1919``` xml
2020<dependency >
2121 <groupId >cc.vileda</groupId >
2222 <artifactId >kotlin-openapi3-dsl</artifactId >
23- <version >1.3.0 </version >
23+ <version >1.3.1 </version >
2424</dependency >
2525```
2626
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ apply plugin: 'maven-publish'
1616apply plugin : ' signing'
1717
1818group ' cc.vileda'
19- version ' 1.3.0 '
19+ version ' 1.3.1 '
2020
2121repositories {
2222 mavenCentral()
You can’t perform that action at this time.
0 commit comments