Skip to content

Commit

Permalink
Fix publishing settings
Browse files Browse the repository at this point in the history
  • Loading branch information
danieletorelli committed May 30, 2024
1 parent 81a17ed commit 4d82c7d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 6 additions & 6 deletions project/Settings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -23,16 +26,13 @@ object Settings {
"danieletorelli",
"Daniele Torelli",
"[email protected]",
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
)
)
)
Expand Down

0 comments on commit 4d82c7d

Please sign in to comment.