Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion .github/workflows/release-maven-artifacts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,14 @@ jobs:
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Import Scala PGP Key
uses: crazy-max/ghaction-import-gpg@v6
with:
gpg_private_key: ${{ secrets.SCALA_PGP_KEY }}
passphrase : ${{ secrets.SCALA_PGP_PASSPHRASE }}
fingerprint : ${{ vars.SCALA_PGP_FINGERPRINT }}
- name: Publish Artifacts to the Maven Repository
run : sbt scala3-bootstrapped-new/publish
run : sbt scala3-bootstrapped-new/publishSigned
env:
MAVEN_REPOSITORY_USER : ${{ secrets.MAVEN_REPOSITORY_USER }}
MAVEN_REPOSITORY_TOKEN: ${{ secrets.MAVEN_REPOSITORY_TOKEN }}
Expand Down
3 changes: 0 additions & 3 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import java.nio.file._
import Process._
import Modes._
import ScaladocGeneration._
import com.jsuereth.sbtpgp.PgpKeys
import sbt.Keys.*
import sbt.*
import sbt.nio.FileStamper
Expand Down Expand Up @@ -335,8 +334,6 @@ object Build {
password <- sys.env.get("SONATYPE_PW")
} yield Credentials("Sonatype Nexus Repository Manager", "central.sonatype.com", username, password)
).toList,
PgpKeys.pgpPassphrase := sys.env.get("PGP_PW").map(_.toCharArray()),
PgpKeys.useGpgPinentry := true,

// Do not cut off the bottom of large stack traces (default is 1024)
javaOptions ++= "-XX:MaxJavaStackTraceDepth=1000000" :: agentOptions,
Expand Down
Loading