File tree Expand file tree Collapse file tree 1 file changed +4
-13
lines changed
Expand file tree Collapse file tree 1 file changed +4
-13
lines changed Original file line number Diff line number Diff line change 11---
2- name : Release
2+ name : Release (Test)
33
44on :
55 workflow_run :
1515 publish :
1616 name : Publish Client
1717 runs-on : ubuntu-latest
18- if : ${{ github.event.workflow_run.conclusion == 'success' && github.ref_type == 'tag' }}
18+ # if: ${{ github.event.workflow_run.conclusion == 'success' && github.ref_type == 'tag' }}
1919 steps :
2020 - name : Validate tag
2121 run : |
2424 echo "Tag $TAG_NAME is valid"
2525 else
2626 echo "Tag $TAG_NAME is invalid"
27- # exit 1
27+ exit 1
2828 fi
29- exit 1
3029 - name : Checkout Code
3130 uses : actions/checkout@v5
3231 - name : Set up JVM
3534 distribution : ' temurin'
3635 java-version : ' 17'
3736 - name : Validate Gradle Wrapper
38- uses : gradle/wrapper-validation-action@v3
39- - name : Publish Package
40- run : gradle clean build signMavenJavaPublication publishToSonatype closeAndReleaseSonatypeStagingRepository
41- env :
42- ORG_GRADLE_PROJECT_signingKeyId : ${{ secrets.JAR_SIGNING_KEY_ID }}
43- ORG_GRADLE_PROJECT_signingKey : ${{ secrets.JAR_SIGNING_KEY }}
44- ORG_GRADLE_PROJECT_signingPassword : ${{ secrets.JAR_SIGNING_SIGNING_PASSWORD }}
45- ORG_GRADLE_PROJECT_sonatypeUsername : ${{ secrets.SONATYPE_CENTRAL_USER_TOKEN_USERNAME }}
46- ORG_GRADLE_PROJECT_sonatypePassword : ${{ secrets.SONATYPE_CENTRAL_USER_TOKEN_PASSWORD }}
37+ uses : gradle/wrapper-validation-action@v3
You can’t perform that action at this time.
0 commit comments