File tree 4 files changed +27
-5
lines changed
4 files changed +27
-5
lines changed Original file line number Diff line number Diff line change 19
19
- name : Set up JDK 1.8
20
20
uses : actions/setup-java@v3
21
21
with :
22
- java-version : ' 8.0.332+9 '
23
- distribution : ' adopt '
22
+ java-version : ' 8'
23
+ distribution : ' temurin '
24
24
- name : Grant execute permission for gradlew
25
25
run : chmod +x gradlew
26
26
- 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
12
12
### gradle
13
13
14
14
``` groovy
15
- compile "cc.vileda:kotlin-openapi3-dsl:1.3.0 "
15
+ compile "cc.vileda:kotlin-openapi3-dsl:1.3.1 "
16
16
```
17
17
18
18
### maven
19
19
``` xml
20
20
<dependency >
21
21
<groupId >cc.vileda</groupId >
22
22
<artifactId >kotlin-openapi3-dsl</artifactId >
23
- <version >1.3.0 </version >
23
+ <version >1.3.1 </version >
24
24
</dependency >
25
25
```
26
26
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ apply plugin: 'maven-publish'
16
16
apply plugin : ' signing'
17
17
18
18
group ' cc.vileda'
19
- version ' 1.3.0 '
19
+ version ' 1.3.1 '
20
20
21
21
repositories {
22
22
mavenCentral()
You can’t perform that action at this time.
0 commit comments