diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07376e14..fc1ef973 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,6 +78,10 @@ jobs: echo "${{ secrets.BASE64_GPG_KEY }}" | base64 -d > secret-keys.gpg echo "${{ secrets.GPG_PASSPHRASE }}" | gpg --batch --yes --passphrase-fd 0 --import secret-keys.gpg rm secret-keys.gpg + - name: Set up Sonatype credentials + run: | + mkdir ~/.sbt + echo "${{ secrets.SONATYPE_CREDENTIALS }}" > ~/.sbt/sonatype.credentials - name: Setup JDK uses: actions/setup-java@v3 with: @@ -87,3 +91,4 @@ jobs: - name: Publish to Sonatype run: | PGP_PASSPHRASE=${{ secrets.GPG_PASSPHRASE }} sbt "project ${{ matrix.service }}" publishSigned + sbt "project ${{ matrix.service }}" sonatypeBundleRelease