Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit b5ea3b2

Browse files
authored
Merge pull request #359 from xenit-eu/revert-358-fix-condition-publish-gradle-plugin
Revert "remove the if in the ci when publishing gradle plugin"
2 parents 2328f66 + 6f75cbb commit b5ea3b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ jobs:
7878
ORG_GRADLE_PROJECT_sonatype_password: ${{ secrets.MAVEN_CENTRAL_PASSWORD }}
7979
run: ./gradlew publish -PsigningKeyId=CDE3528F
8080
- name: Publish Gradle Plugin
81+
if: ${{ startswith(github.ref, 'refs/heads/release') }}
8182
env:
8283
GRADLE_PUBLISH_KEY: ${{ secrets.GRADLE_PLUGINS_PUBLISH_KEY }}
8384
GRADLE_PUBLISH_SECRET: ${{ secrets.GRADLE_PLUGINS_PUBLISH_SECRET }}

0 commit comments

Comments
 (0)