Skip to content

Commit

Permalink
ci: More setup changes
Browse files Browse the repository at this point in the history
  • Loading branch information
eed3si9n committed Dec 10, 2024
1 parent d063250 commit 33e397c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
distribution: temurin
java-version: 8
cache: sbt
- uses: sbt/setup-sbt@v1
- name: Test
run: |
gpg --import test-key.gpg
Expand Down
8 changes: 7 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,13 @@ lazy val plugin = (project in file("sbt-pgp"))
case "2.12" => "1.5.8"
case _ => "2.0.0-M2"
}
}
},
scriptedSbt := {
scalaBinaryVersion.value match {
case "2.12" => "1.10.6"
case _ => (pluginCrossBuild / sbtVersion).value
}
},
)

// library
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=1.10.2
sbt.version=1.10.6

0 comments on commit 33e397c

Please sign in to comment.