Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Fix publishing artifacts to Maven Central (#1195)

Wouter Bornd070c74bb2d7
diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml
index 65029bdc3..7f952a997 100644
--- a/.github/workflows/ci_cd.yml
+++ b/.github/workflows/ci_cd.yml
@@ -498,7 +498,7 @@ jobs:
if: ${{ steps.ci-cd-output.outputs.mavenTag != '' }}
shell: bash
run: |
- command="./gradlew publish -PopenremoteVersion=$MAVEN_TAG -PsigningKey=$SIGNING_KEY -PsigningPassword=$SIGNING_PASSWORD -PpublishUsername=$MAVEN_USERNAME -P$MAVEN_PASSWORD"
+ command="./gradlew publish -PopenremoteVersion=$MAVEN_TAG -PsigningKey=$SIGNING_KEY -PsigningPassword=$SIGNING_PASSWORD -PpublishUsername=$MAVEN_USERNAME -PpublishPassword=$MAVEN_PASSWORD"
echo "value=$command" >> $GITHUB_OUTPUT
env:
MAVEN_TAG: ${{ steps.ci-cd-output.outputs.mavenTag }}
diff --git a/test/build.gradle b/test/build.gradle
index 1d4039d01..ee0c42c2f 100644
--- a/test/build.gradle
+++ b/test/build.gradle
@@ -121,7 +121,6 @@ publishing {
}
repositories {
- mavenCentral()
maven {
if (!version.endsWith('-LOCAL')) {
credentials {