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
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ jobs:
echo "$PGP_PASSPHRASE" | gpg --pinentry-mode loopback --passphrase-fd 0 --import /tmp/signing-key.gpg
(echo "$PGP_PASSPHRASE"; echo; echo) | gpg --command-fd 0 --pinentry-mode loopback --change-passphrase $(gpg --list-secret-keys --with-colons 2> /dev/null | grep '^sec:' | cut --delimiter ':' --fields 5 | tail -n 1)

- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Publish
run: sbt tlCiRelease

Expand Down
12 changes: 8 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,13 @@ ThisBuild / scmInfo := Some(

ThisBuild / crossScalaVersions := Seq("2.11.12", "2.12.16", "2.13.7", "3.1.3")

val setupSbt = WorkflowStep.Use(
UseRef.Public("sbt", "setup-sbt", "v1"),
name = Some("Setup sbt")
)

ThisBuild / githubWorkflowBuildPreamble ++= Seq(
WorkflowStep.Use(
UseRef.Public("sbt", "setup-sbt", "v1"),
name = Some("Setup sbt")
),
setupSbt,
WorkflowStep.Use(
UseRef.Public("actions", "setup-node", "v3"),
name = Some("Setup NodeJS v18 LTS"),
Expand All @@ -62,6 +64,8 @@ ThisBuild / githubWorkflowBuildPreamble ++= Seq(
),
)

ThisBuild / githubWorkflowPublishPreamble += setupSbt

val ciVariants = List("ciNode", "ciFirefox", "ciChrome", "ciJSDOMNodeJS")

ThisBuild / githubWorkflowBuildMatrixAdditions += "ci" -> ciVariants
Expand Down
Loading