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
6
3
jobs :
7
- build :
8
-
4
+ publish :
9
5
runs-on : ubuntu-latest
10
6
permissions :
11
7
contents : write
24
20
- name : Setup Gradle
25
21
uses : gradle/actions/setup-gradle@417ae3ccd767c252f5661f1ace9f835f9654f2b5 # v3.1.0
26
22
23
+ - name : Build
24
+ run : ./gradlew build
25
+
27
26
- 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 }}
29
33
30
34
- name : Get Release Version
31
35
shell : bash
You can’t perform that action at this time.
0 commit comments