Skip to content

Commit 4aebe69

Browse files
committed
GHA: Remove deploy-settings.xml
in favor of the version created by setup-java action. Change-Id: Ica9457e113f1b77c67048b1d8fd216353de06b9a Reviewed-on: https://review.couchbase.org/c/couchbase-jvm-clients/+/228777 Tested-by: Build Bot <[email protected]> Reviewed-by: Michael Reiche <[email protected]>
1 parent 5025334 commit 4aebe69

File tree

4 files changed

+10
-13
lines changed

4 files changed

+10
-13
lines changed

.github/scripts/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,5 @@ set -x
2121
cd core-io ; ./shade-check.sh ; cd ..
2222
cd tracing-opentelemetry ; ./shade-check.sh ; cd ..
2323

24-
./mvnw --batch-mode --settings deploy-settings.xml deploy -Dgpg.signer=bc -Dsurefire.rerunFailingTestsCount=1 --activate-profiles ${MAVEN_PROFILE}
25-
./mvnw --batch-mode --settings deploy-settings.xml clean deploy -Dgpg.signer=bc -Dmaven.test.skip=true --activate-profiles ${MAVEN_PROFILE},scala-2.13 --projects scala-implicits,scala-client
24+
./mvnw --batch-mode deploy -Dgpg.signer=bc -Dsurefire.rerunFailingTestsCount=1 --activate-profiles ${MAVEN_PROFILE}
25+
./mvnw --batch-mode clean deploy -Dgpg.signer=bc -Dmaven.test.skip=true --activate-profiles ${MAVEN_PROFILE},scala-2.13 --projects scala-implicits,scala-client

.github/workflows/deploy-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ jobs:
2828
java-version: '21'
2929
distribution: 'temurin'
3030

31+
server-id: 'central'
32+
server-username: MAVEN_USERNAME
33+
server-password: MAVEN_PASSWORD
34+
3135
- name: Build and deploy to Maven Central
3236
run: .github/scripts/deploy.sh release
3337
env:

.github/workflows/deploy-snapshot.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ jobs:
3232
java-version: '21'
3333
distribution: 'temurin'
3434

35+
server-id: 'central'
36+
server-username: MAVEN_USERNAME
37+
server-password: MAVEN_PASSWORD
38+
3539
- name: Build and deploy to Maven Central
3640
run: .github/scripts/deploy.sh snapshot
3741
env:

deploy-settings.xml

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)