Skip to content

Commit cfac902

Browse files
Merge pull request #1221 from input-output-hk/dependabot/github_actions/actions/upload-artifact-4
Bump actions/upload-artifact from 3 to 4
2 parents c92753a + 2a33dd0 commit cfac902

File tree

4 files changed

+18
-14
lines changed

4 files changed

+18
-14
lines changed

.github/workflows/binaries-linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
unzip result/*.zip -d out
4747
4848
- name: 💾 Upload executables
49-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v4
5050
with:
5151
name: hydra-x86_64-linux-${{ env.VERSION }} # automatically zips
5252
path: out/*

.github/workflows/binaries-macos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
unzip result/*.zip -d out
4747
4848
- name: 💾 Upload executables
49-
uses: actions/upload-artifact@v3
49+
uses: actions/upload-artifact@v4
5050
with:
5151
name: hydra-aarch64-darwin-${{ env.VERSION }} # automatically zips
5252
path: out/*

.github/workflows/ci-nix.yaml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -64,17 +64,17 @@ jobs:
6464
nix develop .#tests.${{ matrix.package }} --build
6565
6666
- name: 💾 Upload build & test artifacts
67-
uses: actions/upload-artifact@v3
67+
uses: actions/upload-artifact@v4
6868
with:
69-
name: test-results
69+
name: test-results-${{ matrix.package }}
7070
path: |
7171
./**/test-results.xml
7272
./**/hspec-results.md
7373
7474
# NOTE: This depends on the path used in hydra-cluster e2e tests
7575
- name: 💾 Upload logs
7676
if: always()
77-
uses: actions/upload-artifact@v3
77+
uses: actions/upload-artifact@v4
7878
with:
7979
name: hydra-cluster-e2e-test-logs
8080
path: /tmp/nix-shell.*/hydra-cluster-e2e-*/logs/*
@@ -87,7 +87,8 @@ jobs:
8787
- name: 📥 Download test results
8888
uses: actions/download-artifact@v4
8989
with:
90-
name: test-results
90+
pattern: test-results-*
91+
merge-multiple: true
9192

9293
- name: ✏ Publish test results to PR
9394
uses: EnricoMi/publish-unit-test-result-action@v2
@@ -121,7 +122,7 @@ jobs:
121122
cp -aL result/* haddocks/
122123
123124
- name: 💾 Upload haddock artifact
124-
uses: actions/upload-artifact@v3
125+
uses: actions/upload-artifact@v4
125126
with:
126127
name: haddocks
127128
path: haddocks
@@ -168,9 +169,9 @@ jobs:
168169
nix develop .#benchs.${{ matrix.package }} --command ${{ matrix.bench }} ${{ matrix.options }}
169170
170171
- name: 💾 Upload build & test artifacts
171-
uses: actions/upload-artifact@v3
172+
uses: actions/upload-artifact@v4
172173
with:
173-
name: benchmarks
174+
name: benchmarks-${{matrix.package}}-${{matrix.bench}}
174175
path: benchmarks
175176

176177
publish-benchmark-results:
@@ -183,8 +184,9 @@ jobs:
183184
- name: 📥 Download generated documentation
184185
uses: actions/download-artifact@v4
185186
with:
186-
name: benchmarks
187187
path: artifact
188+
pattern: benchmarks-*
189+
merge-multiple: true
188190

189191
- name: ⚙ Prepare comment body
190192
id: comment-body
@@ -237,7 +239,7 @@ jobs:
237239
nix build .#spec && cp result/*.pdf spec/
238240
239241
- name: 💾 Upload specification
240-
uses: actions/upload-artifact@v3
242+
uses: actions/upload-artifact@v4
241243
with:
242244
name: hydra-spec
243245
path: |
@@ -272,8 +274,9 @@ jobs:
272274
- name: 📥 Download benchmark results
273275
uses: actions/download-artifact@v4
274276
with:
275-
name: benchmarks
276277
path: docs/benchmarks
278+
pattern: benchmarks-*
279+
merge-multiple: true
277280

278281
- name: 📥 Download haddock documentation
279282
uses: actions/download-artifact@v4
@@ -284,7 +287,8 @@ jobs:
284287
- name: 📥 Download test results
285288
uses: actions/download-artifact@v4
286289
with:
287-
name: test-results
290+
pattern: test-results-*
291+
merge-multiple: true
288292
path: docs/benchmarks/tests
289293

290294
- name: 📥 Download specification PDF

.github/workflows/smoke-test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
5555
- name: 💾 Upload logs
5656
if: always()
57-
uses: actions/upload-artifact@v3
57+
uses: actions/upload-artifact@v4
5858
with:
5959
name: hydra-cluster-logs
6060
path: ${state_dir}/logs/**/*

0 commit comments

Comments
 (0)