Skip to content

Commit 665ae98

Browse files
authored
Merge pull request #220 from xuwei-k/update-actions
Update `download-artifact` and `upload-artifact`
2 parents 49c443d + 9695699 commit 665ae98

File tree

9 files changed

+21
-21
lines changed

9 files changed

+21
-21
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
run: tar cf targets.tar target project/target
9696

9797
- name: Upload target directories
98-
uses: actions/upload-artifact@v5
98+
uses: actions/upload-artifact@v7
9999
with:
100100
name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
101101
path: targets.tar
@@ -158,7 +158,7 @@ jobs:
158158
uses: sbt/setup-sbt@v1
159159

160160
- name: Download target directories (2.12.20)
161-
uses: actions/download-artifact@v6
161+
uses: actions/download-artifact@v8
162162
with:
163163
name: target-${{ matrix.os }}-2.12.20-${{ matrix.java }}
164164

src/main/scala/sbtghactions/WorkflowStep.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ object Action {
3434
val setupJava = UseRef.Public("actions", "setup-java", "v5")
3535
val setupSbt = UseRef.Public("sbt", "setup-sbt", "v1")
3636
val tmate = UseRef.Public("mxschmitt", "action-tmate", "v2")
37-
val upload = UseRef.Public("actions", "upload-artifact", "v5")
38-
val download = UseRef.Public("actions", "download-artifact", "v6")
37+
val upload = UseRef.Public("actions", "upload-artifact", "v7")
38+
val download = UseRef.Public("actions", "download-artifact", "v8")
3939
val configurePagefile = UseRef.Public("al-cheb", "configure-pagefile-action", "v1.5")
4040
}
4141

src/sbt-test/sbtghactions/allow-hashes/.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: tar cf targets.tar target project/target
5353

5454
- name: Upload target directories
55-
uses: actions/upload-artifact@v5
55+
uses: actions/upload-artifact@v7
5656
with:
5757
name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
5858
path: targets.tar
@@ -85,7 +85,7 @@ jobs:
8585
uses: sbt/setup-sbt@v1
8686

8787
- name: Download target directories (2.13.10)
88-
uses: actions/download-artifact@v6
88+
uses: actions/download-artifact@v8
8989
with:
9090
name: target-${{ matrix.os }}-2.13.10-${{ matrix.java }}
9191

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ jobs:
7474
run: tar cf targets.tar target project/target
7575

7676
- name: Upload target directories
77-
uses: actions/upload-artifact@v5
77+
uses: actions/upload-artifact@v7
7878
with:
7979
name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
8080
path: targets.tar
@@ -119,7 +119,7 @@ jobs:
119119
uses: sbt/setup-sbt@v1
120120

121121
- name: Download target directories (2.13.10)
122-
uses: actions/download-artifact@v6
122+
uses: actions/download-artifact@v8
123123
with:
124124
name: target-${{ matrix.os }}-2.13.10-${{ matrix.java }}
125125

@@ -129,7 +129,7 @@ jobs:
129129
rm targets.tar
130130
131131
- name: Download target directories (2.12.17)
132-
uses: actions/download-artifact@v6
132+
uses: actions/download-artifact@v8
133133
with:
134134
name: target-${{ matrix.os }}-2.12.17-${{ matrix.java }}
135135

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: tar cf targets.tar target project/target
6969

7070
- name: Upload target directories
71-
uses: actions/upload-artifact@v5
71+
uses: actions/upload-artifact@v7
7272
with:
7373
name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
7474
path: targets.tar
@@ -114,7 +114,7 @@ jobs:
114114
uses: sbt/setup-sbt@v1
115115

116116
- name: Download target directories (2.13.10)
117-
uses: actions/download-artifact@v6
117+
uses: actions/download-artifact@v8
118118
with:
119119
name: target-${{ matrix.os }}-2.13.10-${{ matrix.java }}
120120

@@ -125,7 +125,7 @@ jobs:
125125
rm targets.tar
126126
127127
- name: Download target directories (2.12.17)
128-
uses: actions/download-artifact@v6
128+
uses: actions/download-artifact@v8
129129
with:
130130
name: target-${{ matrix.os }}-2.12.17-${{ matrix.java }}
131131

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
run: tar cf targets.tar target project/target
5353

5454
- name: Upload target directories
55-
uses: actions/upload-artifact@v5
55+
uses: actions/upload-artifact@v7
5656
with:
5757
name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
5858
path: targets.tar
@@ -85,7 +85,7 @@ jobs:
8585
uses: sbt/setup-sbt@v1
8686

8787
- name: Download target directories (2.13.10)
88-
uses: actions/download-artifact@v6
88+
uses: actions/download-artifact@v8
8989
with:
9090
name: target-${{ matrix.os }}-2.13.10-${{ matrix.java }}
9191

@@ -95,7 +95,7 @@ jobs:
9595
rm targets.tar
9696
9797
- name: Download target directories (2.12.17)
98-
uses: actions/download-artifact@v6
98+
uses: actions/download-artifact@v8
9999
with:
100100
name: target-${{ matrix.os }}-2.12.17-${{ matrix.java }}
101101

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
run: tar cf targets.tar target withTarget/target project/target
5252

5353
- name: Upload target directories
54-
uses: actions/upload-artifact@v5
54+
uses: actions/upload-artifact@v7
5555
with:
5656
name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
5757
path: targets.tar
@@ -84,7 +84,7 @@ jobs:
8484
uses: sbt/setup-sbt@v1
8585

8686
- name: Download target directories (2.13.10)
87-
uses: actions/download-artifact@v6
87+
uses: actions/download-artifact@v8
8888
with:
8989
name: target-${{ matrix.os }}-2.13.10-${{ matrix.java }}
9090

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
run: tar cf targets.tar target project/target
6969

7070
- name: Upload target directories
71-
uses: actions/upload-artifact@v5
71+
uses: actions/upload-artifact@v7
7272
with:
7373
name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
7474
path: targets.tar
@@ -101,7 +101,7 @@ jobs:
101101
uses: sbt/setup-sbt@v1
102102

103103
- name: Download target directories (2.12.19)
104-
uses: actions/download-artifact@v6
104+
uses: actions/download-artifact@v8
105105
with:
106106
name: target-${{ matrix.os }}-2.12.19-${{ matrix.java }}
107107

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
run: tar cf targets.tar target project/target
5454

5555
- name: Upload target directories
56-
uses: actions/upload-artifact@v5
56+
uses: actions/upload-artifact@v7
5757
with:
5858
name: target-${{ matrix.os }}-${{ matrix.scala }}-${{ matrix.java }}
5959
path: targets.tar
@@ -86,7 +86,7 @@ jobs:
8686
uses: sbt/setup-sbt@v1
8787

8888
- name: Download target directories (2.13.10)
89-
uses: actions/download-artifact@v6
89+
uses: actions/download-artifact@v8
9090
with:
9191
name: target-${{ matrix.os }}-2.13.10-${{ matrix.java }}
9292

0 commit comments

Comments
 (0)