File tree 3 files changed +46
-35
lines changed 3 files changed +46
-35
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,20 @@ jobs:
148
148
working_directory : integration-tests
149
149
- report
150
150
- store_cache
151
-
151
+ deploy :
152
+ executor : ' j17'
153
+ steps :
154
+ - timeout
155
+ - checkout
156
+ - load_cache
157
+ - mvn-info
158
+ - run :
159
+ name : Add GPG key
160
+ command : echo $GPG_PRIVATE_KEY | base64 --decode | gpg --batch --no-tty --import --yes
161
+ - run :
162
+ name : Deploy to Apache Maven Central
163
+ command : mvn -s .circleci/maven-release-settings.xml -DskipTests deploy
164
+ - store_cache
152
165
workflows :
153
166
test-adb-version :
154
167
when :
@@ -197,3 +210,11 @@ workflows:
197
210
spring-boot-version :
198
211
- ' 3.2.6'
199
212
- ' 3.3.0'
213
+ deploy :
214
+ jobs :
215
+ - deploy :
216
+ filters :
217
+ tags :
218
+ only : /^deploy.*/
219
+ branches :
220
+ ignore : /.*/
Original file line number Diff line number Diff line change
1
+ <settings xmlns =" http://maven.apache.org/SETTINGS/1.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
2
+ xsi : schemaLocation =" http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd" >
3
+
4
+ <profiles >
5
+ <profile >
6
+ <id >ossrh</id >
7
+ <activation >
8
+ <activeByDefault >true</activeByDefault >
9
+ </activation >
10
+ <properties >
11
+ <gpg .passphrase>${env.GPG_PASSPHRASE}</gpg .passphrase>
12
+ </properties >
13
+ </profile >
14
+ </profiles >
15
+
16
+ <servers >
17
+ <server >
18
+ <id >ossrh</id >
19
+ <username >${env.OSSRH_USERNAME}</username >
20
+ <password >${env.OSSRH_PASSWORD}</password >
21
+ </server >
22
+ </servers >
23
+
24
+ </settings >
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments