File tree 2 files changed +23
-29
lines changed
2 files changed +23
-29
lines changed Original file line number Diff line number Diff line change 34
34
with :
35
35
arguments : build -i
36
36
cache-read-only : false
37
+
38
+ publish :
39
+ needs : build
40
+ runs-on : ubuntu-latest
41
+ if : startsWith(github.ref, 'refs/tags/v')
42
+ steps :
43
+ - uses : actions/checkout@v4
44
+ - name : Set up JDK 8
45
+ uses : actions/setup-java@v4
46
+ with :
47
+ java-version : ' 8'
48
+ distribution : ' adopt'
49
+ - name : Publish with Gradle
50
+ uses : gradle/gradle-build-action@v3
51
+ with :
52
+ arguments : publishToSonatype closeAndReleaseSonatypeStagingRepository -i
53
+ env :
54
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
55
+ ORG_GRADLE_PROJECT_signingKeyId : ${{ secrets.SIGNING_KEY_ID }}
56
+ ORG_GRADLE_PROJECT_signingKey : ${{ secrets.SIGNING_KEY }}
57
+ ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.SIGNING_PASSWORD }}
58
+ ORG_GRADLE_PROJECT_ossrhUserName : ${{ secrets.OSSRH_USERNAME }}
59
+ ORG_GRADLE_PROJECT_ossrhPassword : ${{ secrets.OSSRH_PASSWORD }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments