Skip to content

Commit ea6c36a

Browse files
committed
Update actions/upload-artifact and actions/download-artifact
1 parent 820f3e8 commit ea6c36a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ jobs:
239239

240240
- name: Upload target directories
241241
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main')
242-
uses: actions/upload-artifact@v4
242+
uses: actions/upload-artifact@v5
243243
with:
244244
name: target-${{ matrix.os }}-${{ matrix.java }}-${{ matrix.scala }}-${{ matrix.project }}
245245
path: targets.tar
@@ -359,7 +359,7 @@ jobs:
359359
run: sbt +update
360360

361361
- name: Download target directories (2.12, sbt-typelevelJVM)
362-
uses: actions/download-artifact@v4
362+
uses: actions/download-artifact@v6
363363
with:
364364
name: target-${{ matrix.os }}-${{ matrix.java }}-2.12-sbt-typelevelJVM
365365

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
@@ -733,7 +733,7 @@ ${indent(jobs.map(compileJob(_, sbt)).mkString("\n\n"), 1)}
733733
val artifactId = MatrixKeys.groupId(keys)
734734

735735
val upload = WorkflowStep.Use(
736-
UseRef.Public("actions", "upload-artifact", "v4"),
736+
UseRef.Public("actions", "upload-artifact", "v5"),
737737
name = Some(s"Upload target directories"),
738738
params = Map("name" -> s"target-$artifactId", "path" -> "targets.tar"),
739739
cond = Some(publicationCond.value)
@@ -779,7 +779,7 @@ ${indent(jobs.map(compileJob(_, sbt)).mkString("\n\n"), 1)}
779779
val pretty = v.mkString(", ")
780780

781781
val download = WorkflowStep.Use(
782-
UseRef.Public("actions", "download-artifact", "v4"),
782+
UseRef.Public("actions", "download-artifact", "v6"),
783783
name = Some(s"Download target directories ($pretty)"),
784784
params =
785785
Map("name" -> s"target-$${{ matrix.os }}-$${{ matrix.java }}-${v.mkString("-")}")

0 commit comments

Comments
 (0)