Skip to content

Commit eb195a0

Browse files
committed
maven sync only if specified
1 parent 37a5e40 commit eb195a0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ jobs:
7272
CTP_BINTRAY_KEY: ${{ secrets.BINTRAY_KEY }}
7373
CTP_OSS_USER: ${{ secrets.OSS_USER }}
7474
CTP_OSS_SECRET: ${{ secrets.OSS_SECRET }}
75+
MAVEN_SYNC: "true"
7576
SOURCE_TAG: ${{ steps.branch_name.outputs.SOURCE_TAG }}
7677

7778
- name: Create GH Release

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ subprojects { project ->
198198
sign = true
199199
}
200200
mavenCentralSync {
201-
sync = true
201+
sync = System.getenv("MAVEN_SYNC") == "true"
202202
user = System.getenv('CTP_OSS_USER')
203203
password = System.getenv('CTP_OSS_SECRET')
204204
}

0 commit comments

Comments
 (0)