Skip to content

Commit 23e75b9

Browse files
committed
Only download artifacts for primary OS/JDK
1 parent 0c8c26c commit 23e75b9

File tree

2 files changed

+2
-12
lines changed

2 files changed

+2
-12
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -189,16 +189,6 @@ jobs:
189189
tar xf targets.tar
190190
rm targets.tar
191191
192-
- name: Download target directories (2.12.16, rootJVM)
193-
uses: actions/download-artifact@v2
194-
with:
195-
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12.16-rootJVM
196-
197-
- name: Inflate target directories (2.12.16, rootJVM)
198-
run: |
199-
tar xf targets.tar
200-
rm targets.tar
201-
202192
- name: Import signing key
203193
if: env.PGP_SECRET != '' && env.PGP_PASSPHRASE == ''
204194
run: echo $PGP_SECRET | base64 -di | gpg --import

github-actions/src/main/scala/org/typelevel/sbt/gha/GenerativePlugin.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -615,9 +615,9 @@ ${indent(jobs.map(compileJob(_, sbt)).mkString("\n\n"), 1)}
615615
}
616616

617617
val keys = "scala" :: additions.keys.toList.sorted
618-
val oses = githubWorkflowOSes.value.toList
618+
val oses = githubWorkflowOSes.value.toList.take(1)
619619
val scalas = githubWorkflowScalaVersions.value.toList
620-
val javas = githubWorkflowJavaVersions.value.toList
620+
val javas = githubWorkflowJavaVersions.value.toList.take(1)
621621
val exclusions = githubWorkflowBuildMatrixExclusions.value.toList
622622

623623
// we build the list of artifacts, by iterating over all combinations of keys

0 commit comments

Comments
 (0)