diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5502b6a..2653c31 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,10 +18,9 @@ jobs: cache: 'sbt' - uses: olafurpg/setup-gpg@v3 - name: Publish artifacts - run: sbt ci-release + run: sbt ci-release || sbt sonatypeReleaseAll env: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} PGP_SECRET: ${{ secrets.PGP_SECRET }} SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - CI_SONATYPE_RELEASE: 'sonatypeReleaseAll'