diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index fbd3324..210e2d5 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -51,19 +51,12 @@ jobs:
\${env.GITHUB_ACTOR}
\${env.GITHUB_TOKEN}
-
- capra-releases
- \${env.NEXUS_USERNAME}
- \${env.NEXUS_PASSWORD}
-
EOF
- name: conditional release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- NEXUS_USERNAME: ${{ secrets.NEXUS_USERNAME_FOR_PUBLIC_LIBS }}
- NEXUS_PASSWORD: ${{ secrets.NEXUS_PASSWORD_FOR_PUBLIC_LIBS }}
run: |
export MAVEN_OPTS="-Duser.home=$HOME" # Home directory not automatically picked up for some reason
major_version="$(sed -n "s/^.*\([0-9]\{1,\}\)<\/major-version>.*$/\1/p" pom.xml)"
@@ -82,8 +75,6 @@ jobs:
fi
fi
if [ "$release" = "true" ]; then
- # Release to Nexus
- mvn -B source:jar deploy scm:tag -Drevision="$tag" -Dtag="$tag"
# Release to GitHub Packages
mvn -B source:jar deploy -DaltReleaseDeploymentRepository="github::default::https://maven.pkg.github.com/capralifecycle/liflig-logging" -Drevision="$tag" -Dtag="$tag"
else
diff --git a/pom.xml b/pom.xml
index cca20f8..6e441e3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -43,13 +43,6 @@
-
-
- capra-releases
- https://mvnrepo.capraconsulting.no/content/repositories/capra-releases
-
-
-