|
46 | 46 | with:
|
47 | 47 | java-version: 11
|
48 | 48 | distribution: 'temurin'
|
49 |
| - - name: gradle caching |
50 |
| - uses: gradle/actions/setup-gradle@v3 |
51 |
| - with: |
52 |
| - gradle-home-cache-cleanup: true |
53 | 49 | - name: Generate release name for lib
|
54 | 50 | if: github.event.inputs.to_publish == 'all' || github.event.inputs.to_publish == 'lib'
|
55 | 51 | run: |
|
@@ -95,24 +91,18 @@ jobs:
|
95 | 91 | - name: publish all
|
96 | 92 | if: "${{ github.event.inputs.to_publish == 'all' }}"
|
97 | 93 | run: |
|
98 |
| - ./gradlew :changelogPush -Prelease=true --stacktrace --warning-mode all --no-configuration-cache |
99 |
| - ./gradlew :plugin-gradle:changelogPush -Prelease=true -Pgradle.publish.key=${{ secrets.GRADLE_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_SECRET }} --stacktrace --warning-mode all --no-configuration-cache |
100 |
| - ./gradlew :plugin-maven:changelogPush -Prelease=true --stacktrace --warning-mode all --no-configuration-cache |
101 | 94 | gh release create ${{ env.LIB_TAG }} --title '${{ env.LIB_NAME }}' --notes-file RELEASE_NOTES_FOR_LIB.md
|
102 | 95 | gh release create ${{ env.PLUGIN_GRADLE_TAG }} --title '${{ env.PLUGIN_GRADLE_NAME }}' --notes-file RELEASE_NOTES_FOR_PLUGIN_GRADLE.md
|
103 | 96 | gh release create ${{ env.PLUGIN_MAVEN_TAG }} --title '${{ env.PLUGIN_MAVEN_NAME }}' --notes-file RELEASE_NOTES_FOR_PLUGIN_MAVEN.md
|
104 | 97 | - name: publish just plugin-gradle
|
105 | 98 | if: "${{ github.event.inputs.to_publish == 'plugin-gradle' }}"
|
106 | 99 | run: |
|
107 |
| - ./gradlew :plugin-gradle:changelogPush -Prelease=true -Pgradle.publish.key=${{ secrets.GRADLE_KEY }} -Pgradle.publish.secret=${{ secrets.GRADLE_SECRET }} --stacktrace --warning-mode all --no-configuration-cache |
108 | 100 | gh release create ${{ env.PLUGIN_GRADLE_TAG }} --title '${{ env.PLUGIN_GRADLE_NAME }}' --notes-file RELEASE_NOTES_FOR_PLUGIN_GRADLE.md
|
109 | 101 | - name: publish just plugin-maven
|
110 | 102 | if: "${{ github.event.inputs.to_publish == 'plugin-maven' }}"
|
111 | 103 | run: |
|
112 |
| - ./gradlew :plugin-maven:changelogPush -Prelease=true --stacktrace --warning-mode all --no-configuration-cache |
113 | 104 | gh release create ${{ env.PLUGIN_MAVEN_TAG }} --title '${{ env.PLUGIN_MAVEN_NAME }}' --notes-file RELEASE_NOTES_FOR_PLUGIN_MAVEN.md
|
114 | 105 | - name: publish just lib
|
115 | 106 | if: "${{ github.event.inputs.to_publish == 'lib' }}"
|
116 | 107 | run: |
|
117 |
| - ./gradlew :changelogPush -Prelease=true --stacktrace --warning-mode all --no-configuration-cache |
118 | 108 | gh release create ${{ env.LIB_TAG }} --title '${{ env.LIB_NAME }}' --notes-file RELEASE_NOTES_FOR_LIB.md
|
0 commit comments