From edb86a12f9d3aab5033c4a780f54ec5fde635192 Mon Sep 17 00:00:00 2001 From: Lars Aaberg Date: Sun, 10 Mar 2024 20:35:54 +0100 Subject: [PATCH] Fixed error with credentials for maven --- .github/workflows/maven-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven-release.yml b/.github/workflows/maven-release.yml index fac70744..24704f60 100644 --- a/.github/workflows/maven-release.yml +++ b/.github/workflows/maven-release.yml @@ -26,4 +26,5 @@ jobs: - name: publish to maven central run: mvn --batch-mode deploy env: - GITHUB_TOKEN: ${{ github.token }} + MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} + MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}