diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 249d06c..830a217 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -25,11 +25,10 @@ jobs: with: fetch-depth: 0 - name: Import GPG Key - uses: crazy-max/ghaction-import-gpg@v1 + uses: crazy-max/ghaction-import-gpg@v6 env: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} - name: Publish artifacts run: | - sbt -java-home "$JAVA_HOME_17_X64" clean +publishSigned - sbt -java-home "$JAVA_HOME_17_X64" sonatypeBundleRelease + sbt -java-home "$JAVA_HOME_17_X64" clean +publishSigned sonatypeBundleRelease diff --git a/build.sbt b/build.sbt index 0e57805..4a5fe20 100644 --- a/build.sbt +++ b/build.sbt @@ -4,7 +4,6 @@ ThisBuild / scalaVersion := "2.12.18" ThisBuild / fork := true ThisBuild / dynverSonatypeSnapshots := true -ThisBuild / publishMavenStyle := true ThisBuild / versionScheme := Some("early-semver")