From f2ea985e79fc08cc8ec0de73db0e8c58fac14172 Mon Sep 17 00:00:00 2001 From: Daniele Torelli Date: Thu, 9 May 2024 17:56:56 -0600 Subject: [PATCH] Test publish settings --- .github/workflows/ci.yml | 2 +- project/Settings.scala | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0dd001..e0c82e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: pull_request: push: - branches: [main] + branches: [main, publishing] release: types: - published diff --git a/project/Settings.scala b/project/Settings.scala index d365088..a8f776a 100644 --- a/project/Settings.scala +++ b/project/Settings.scala @@ -7,6 +7,7 @@ object Settings { def publishSettings: sbt.Project = { import com.jsuereth.sbtpgp.PgpKeys.* + import xerial.sbt.Sonatype.autoImport.* project.settings( inThisBuild( @@ -23,16 +24,14 @@ 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), pgpPublicRing := file("/tmp/public.asc"), - pgpSecretRing := file("/tmp/secret.asc"), - resolvers += - "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots" + pgpSecretRing := file("/tmp/secret.asc") ) ) )