Skip to content

Commit

Permalink
Merge pull request #87 from scala-steward/update/sbt-github-actions-0…
Browse files Browse the repository at this point in the history
….24.0

Update sbt-github-actions to 0.24.0
  • Loading branch information
mkurz authored Jun 26, 2024
2 parents 84b2cb3 + 1bc554d commit 00b6be8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 16 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,8 @@ jobs:
java-version: 8
cache: sbt

- name: Install sbt
if: matrix.os == 'macos-latest'
shell: bash
run: brew install sbt
- name: Setup sbt
uses: sbt/setup-sbt@v1

- name: Check that workflows are up to date
shell: bash
Expand Down Expand Up @@ -114,6 +112,9 @@ jobs:
java-version: 8
cache: sbt

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

- name: Download target directories (2.12.19)
uses: actions/download-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ addSbtPlugin(("com.github.sbt" % "sbt-site-paradox" % "1.7.0").exclude(
addSbtPlugin("com.github.sbt" % "sbt-ghpages" % "0.8.0")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2")
addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.23.0")
addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.24.0")

libraryDependencies += "org.scala-sbt" %% "scripted-plugin" % sbtVersion.value

Expand Down
12 changes: 1 addition & 11 deletions publish.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -61,16 +61,6 @@ inThisBuild(
githubWorkflowJavaVersions := Seq(
JavaSpec.temurin("8")
),
githubWorkflowBuildMatrixExclusions += MatrixExclude(Map("java" -> "temurin@8", "os" -> "macos-latest")),
// GitHub Actions macOS 13+ runner images do not come with sbt preinstalled anymore
githubWorkflowBuildPreamble ++= Seq(
WorkflowStep.Run(
commands = List(
"brew install sbt"
),
cond = Some("matrix.os == 'macos-latest'"),
name = Some("Install sbt")
)
)
githubWorkflowBuildMatrixExclusions += MatrixExclude(Map("java" -> "temurin@8", "os" -> "macos-latest"))
)
)

0 comments on commit 00b6be8

Please sign in to comment.