From 9cd892b3e4ee3d72045db78ee668a53d9b012471 Mon Sep 17 00:00:00 2001 From: "M.P. Korstanje" Date: Fri, 19 Jul 2024 11:08:33 +0200 Subject: [PATCH] Configure Sonatype Nexus Username With Sonatype requiring the usage of a token instead of username/password. The username can no longer be hardcoded and must also be read from secrets. Fixes: #376 --- .github/workflows/release-sbt.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/release-sbt.yml b/.github/workflows/release-sbt.yml index ec2cfe5..ceaa393 100644 --- a/.github/workflows/release-sbt.yml +++ b/.github/workflows/release-sbt.yml @@ -34,9 +34,8 @@ jobs: with: gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} gpg-passphrase: ${{ secrets.GPG_PASSPHRASE }} - nexus-username: cukebot + nexus-username: ${{ secrets.SONATYPE_USERNAME }} nexus-password: ${{ secrets.SONATYPE_PASSWORD }} - working-directory: . create-github-release: name: Create GitHub Release and Git tag