From ac6b581590d148fcb0242bec43435e5dabd455be Mon Sep 17 00:00:00 2001 From: Jaime Silva Date: Wed, 19 Jun 2024 13:56:16 +0200 Subject: [PATCH] test sonatype access --- .github/workflows/scala.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/scala.yml b/.github/workflows/scala.yml index 585a78821..bc11a3971 100644 --- a/.github/workflows/scala.yml +++ b/.github/workflows/scala.yml @@ -188,6 +188,14 @@ jobs: mkdir -p ~/.sbt/gpg echo "$GPG_PRIVATE_KEY_PASSPHRASE" | gpg --verbose --batch -a --export-secret-keys --pinentry-mode loopback --passphrase-fd 0 > ~/.sbt/gpg/secring.asc + + - name: Test sonatype + env: + SONATYPE_USERNAME: ${{ secrets.SONATYPE_OSSRH_USER }} + SONATYPE_PASSWORD: ${{ secrets.SONATYPE_OSSRH_PASSWORD }} + run: | + sbt sonatypeOpen + sbt sonatypeDrop - name: Publish package env: