Skip to content

Commit

Permalink
revert last workaround + fix real issue: a previous change accidental…
Browse files Browse the repository at this point in the history
…ly dropped the name setting, thus published artifact with wrong name
  • Loading branch information
hochgi committed Dec 1, 2024
1 parent e5a7dcc commit d342817
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:

- name: Test sbt plugin
if: ${{ github.event_name == 'pull_request' }}
run: sbt zioHttpGenSbt/publishLocal zioHttpGenSbt/scripted
run: sbt zioHttpGenSbt/scripted

- uses: coursier/setup-action@v1

Expand Down
3 changes: 2 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ ThisBuild / githubWorkflowBuild := {
List(
WorkflowStep.Use(UseRef.Public("coursier", "setup-action", "v1")),
WorkflowStep.Run(
commands = List(s"sbt zioHttpGenSbt/publishLocal zioHttpGenSbt/scripted"),
commands = List(s"sbt zioHttpGenSbt/scripted"),
name = Some("Test sbt plugin"),
cond = Some("${{ github.event_name == 'pull_request' }}"),
),
Expand Down Expand Up @@ -363,6 +363,7 @@ lazy val zioHttpGenSbt = (project in file("zio-http-gen-sbt-plugin"))
.enablePlugins(SbtPlugin)
.settings(publishSetting(true))
.settings(
name := "zio-http-sbt-codegen",
sbtPlugin := true,
scalaVersion := Scala212,
semanticdbEnabled := true,
Expand Down

0 comments on commit d342817

Please sign in to comment.