File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change 1- name : Release
2-
3- on :
4- workflow_dispatch
5-
1+ name : Publish Release
2+ on : workflow_dispatch
63jobs :
7- build :
8-
4+ publish :
95 runs-on : ubuntu-latest
106 permissions :
117 contents : write
2420 - name : Setup Gradle
2521 uses : gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
2622
23+ - name : Build
24+ run : ./gradlew build
25+
2726 - name : Publish
28- run : ./gradlew build publishAndReleaseToMavenCentral --no-configuration-cache
27+ run : ./gradlew publishAndReleaseToMavenCentral
28+ env :
29+ ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.MAVEN_CENTRAL_USERNAME }}
30+ ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
31+ ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.SIGNING_PRIVATE_KEY }}
32+ ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.SIGNING_PASSWORD }}
2933
3034 - name : Get Release Version
3135 shell : bash
You can’t perform that action at this time.
0 commit comments