diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0dd001..824e95b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,8 +43,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - - uses: actions/checkout@v4 - - name: Setup JDK ${{ matrix.java }} + - name: Setup JDK 21 uses: actions/setup-java@v4 with: distribution: temurin diff --git a/project/Settings.scala b/project/Settings.scala index d365088..7967fd8 100644 --- a/project/Settings.scala +++ b/project/Settings.scala @@ -7,6 +7,9 @@ object Settings { def publishSettings: sbt.Project = { import com.jsuereth.sbtpgp.PgpKeys.* + import xerial.sbt.Sonatype + import xerial.sbt.Sonatype.SonatypeKeys.* + project.settings( inThisBuild( @@ -23,16 +26,13 @@ object Settings { "danieletorelli", "Daniele Torelli", "daniele.torelli@ziverge.com", - url("https://mdtorelli.it") + url("https://github.com/danieletorelli") ) ), - resolvers += - "Sonatype OSS Snapshots 01" at "https://s01.oss.sonatype.org/content/repositories/snapshots", - pgpPassphrase := sys.env.get("PGP_PASSWORD").map(_.toArray), + pgpPassphrase := sys.env.get("PGP_PASSPHRASE").map(_.toArray), pgpPublicRing := file("/tmp/public.asc"), pgpSecretRing := file("/tmp/secret.asc"), - resolvers += - "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots" + sonatypeCredentialHost := Sonatype.sonatype01 ) ) )