diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index f46406d..81cb444 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -32,6 +32,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.PACKAGE_TOKEN }} run: | mkdir -p ~/.m2 - echo "github$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}')\${env.GITHUB_TOKEN}" > ~/.m2/settings.xml + echo "gh$(echo "$GITHUB_REPOSITORY" | awk -F / '{print $1}')\${env.GITHUB_TOKEN}" > ~/.m2/settings.xml REPO="gh::default::https://maven.pkg.github.com/${GITHUB_REPOSITORY}" mvn deploy -DaltReleaseDeploymentRepository="${REPO}" -DaltSnapshotDeploymentRepository="${REPO}"