Skip to content

Commit 6afb548

Browse files
armanbilgemdedetrich
authored andcommitted
Fix rendering
(cherry picked from commit 94e06227498a7f95d1d938bde5ef980d5fe7fd14)
1 parent c0923ee commit 6afb548

File tree

7 files changed

+10
-8
lines changed

7 files changed

+10
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ jobs:
129129
with:
130130
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12.18
131131

132-
- name: Inflate target directories (List(2.12.18))
132+
- name: Inflate target directories (2.12.18)
133133
run: |
134134
tar xf targets.tar
135135
rm targets.tar

src/main/scala/sbtghactions/GenerativePlugin.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -698,20 +698,22 @@ ${indent(jobs.map(compileJob(_, sbt)).mkString("\n\n"), 1)}
698698

699699
if (githubWorkflowArtifactUpload.value) {
700700
artifacts flatMap { v =>
701+
val pretty = v.mkString(", ")
702+
701703
val download = WorkflowStep.Use(
702704
UseRef.Public(
703705
"actions",
704706
"download-artifact",
705707
"v3"),
706-
name = Some(s"Download target directories (${v.mkString(", ")})"),
708+
name = Some(s"Download target directories ($pretty)"),
707709
params = Map(
708710
"name" -> s"target-$${{ matrix.os }}-$${{ matrix.java }}${v.mkString("-", "-", "")}"))
709711

710712
val untar = WorkflowStep.Run(
711713
List(
712714
"tar xf targets.tar",
713715
"rm targets.tar"),
714-
name = Some(s"Inflate target directories ($v)"))
716+
name = Some(s"Inflate target directories ($pretty)"))
715717

716718
Seq(download, untar)
717719
}

src/sbt-test/sbtghactions/check-and-regenerate/expected-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ jobs:
117117
with:
118118
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.10-2.12.17-this
119119

120-
- name: Inflate target directories (List(2.13.10, 2.12.17, this))
120+
- name: Inflate target directories (2.13.10, 2.12.17, this)
121121
run: |
122122
tar xf targets.tar
123123
rm targets.tar

src/sbt-test/sbtghactions/no-clean/.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
with:
8484
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.10-2.12.17
8585

86-
- name: Inflate target directories (List(2.13.10, 2.12.17))
86+
- name: Inflate target directories (2.13.10, 2.12.17)
8787
run: |
8888
tar xf targets.tar
8989
rm targets.tar

src/sbt-test/sbtghactions/non-existent-target/.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ jobs:
8282
with:
8383
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.10
8484

85-
- name: Inflate target directories (List(2.13.10))
85+
- name: Inflate target directories (2.13.10)
8686
run: |
8787
tar xf targets.tar
8888
rm targets.tar

src/sbt-test/sbtghactions/sbt-native-thin-client/.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
with:
100100
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12.18
101101

102-
- name: Inflate target directories (List(2.12.18))
102+
- name: Inflate target directories (2.12.18)
103103
run: |
104104
tar xf targets.tar
105105
rm targets.tar

src/sbt-test/sbtghactions/suppressed-scala-version/expected-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
with:
8585
name: target-${{ matrix.os }}-${{ matrix.java }}-2.13.10
8686

87-
- name: Inflate target directories (List(2.13.10))
87+
- name: Inflate target directories (2.13.10)
8888
run: |
8989
tar xf targets.tar
9090
rm targets.tar

0 commit comments

Comments
 (0)