Skip to content

Commit 8103d02

Browse files
authored
Merge pull request #1734 from scala-steward-org/topic/no-gpg2-ci-release
Do not use gpg2 with sbt-ci-release
2 parents 6a1cdad + 4c993ea commit 8103d02

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,8 @@ jobs:
174174
tar xf targets.tar
175175
rm targets.tar
176176
177+
- uses: olafurpg/setup-gpg@v2
178+
177179
- name: Publish JARs
178180
env:
179181
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}

build.sbt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ val Scala213 = "2.13.3"
2121

2222
ThisBuild / crossScalaVersions := Seq(Scala212, Scala213)
2323
ThisBuild / githubWorkflowTargetTags ++= Seq("v*")
24+
ThisBuild / githubWorkflowPublishPreamble +=
25+
WorkflowStep.Use("olafurpg", "setup-gpg", "v2")
2426
ThisBuild / githubWorkflowPublishTargetBranches := Seq(
2527
RefPredicate.Equals(Ref.Branch("master")),
2628
RefPredicate.StartsWith(Ref.Tag("v"))

0 commit comments

Comments
 (0)