File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -26,22 +26,13 @@ jobs:
26
26
java-version : ' 21'
27
27
28
28
- name : Upload Artifacts
29
- run : ./gradlew publishAllPublicationsToMavenCentralRepository --no-daemon --no-parallel
29
+ run : ./gradlew publishAndReleaseToMavenCentral --no-daemon --no-parallel
30
30
env :
31
31
ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_USERNAME }}
32
32
ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_PASSWORD }}
33
33
ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.SIGNING_KEY }}
34
34
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.SIGNING_PASSWORD }}
35
35
36
- - name : Retrieve version
37
- run : |
38
- echo "VERSION_NAME=$(cat gradle.properties | grep -w "VERSION_NAME" | cut -d'=' -f2)" >> $GITHUB_ENV
39
- - name : Publish release
40
- run : ./gradlew closeAndReleaseRepository --no-daemon --no-parallel
41
- if : " !endsWith(env.VERSION_NAME, '-SNAPSHOT')"
42
- env :
43
- ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_USERNAME }}
44
- ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_PASSWORD }}
45
36
test :
46
37
runs-on : ubuntu-latest
47
38
timeout-minutes : 30
You can’t perform that action at this time.
0 commit comments