Skip to content

Commit ad66532

Browse files
authored
Merge pull request #5881 from cylc/dependabot/github_actions/actions/upload-artifact-4
Bump actions/upload-artifact from 3 to 4
2 parents 8c4cd7e + 5133f72 commit ad66532

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/bash.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ jobs:
8585
8686
- name: Upload artifact
8787
if: failure()
88-
uses: actions/upload-artifact@v3
88+
uses: actions/upload-artifact@v4
8989
with:
90-
name: Upload cylc-run artifact
90+
name: 'cylc-run (bash-${{ matrix.bash-version }})'
9191
path: cylc-run

.github/workflows/test_fast.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
7171
- name: Upload failed tests artifact
7272
if: failure()
73-
uses: actions/upload-artifact@v3
73+
uses: actions/upload-artifact@v4
7474
with:
7575
name: cylc-run (${{ matrix.os }} py-${{ matrix.python-version }})
7676
path: ~/cylc-run/
@@ -81,7 +81,7 @@ jobs:
8181
coverage report
8282
8383
- name: Upload coverage artifact
84-
uses: actions/upload-artifact@v3
84+
uses: actions/upload-artifact@v4
8585
with:
8686
name: coverage_${{ matrix.os }}_py-${{ matrix.python-version }}
8787
path: coverage.xml
@@ -138,7 +138,7 @@ jobs:
138138
uses: actions/checkout@v4
139139

140140
- name: Download coverage artifacts
141-
uses: actions/download-artifact@v3
141+
uses: actions/download-artifact@v4
142142

143143
- name: Codecov upload
144144
uses: codecov/codecov-action@v3

.github/workflows/test_functional.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ jobs:
251251
-exec echo '====== {} ======' \; -exec cat '{}' \;
252252
253253
- name: Set artifact upload name
254+
if: always()
254255
id: uploadname
255256
run: |
256257
# artifact name cannot contain '/' characters
@@ -259,7 +260,7 @@ jobs:
259260
260261
- name: Upload failed tests artifact
261262
if: failure() && steps.test.outcome == 'failure'
262-
uses: actions/upload-artifact@v3
263+
uses: actions/upload-artifact@v4
263264
with:
264265
name: cylc-run (${{ steps.uploadname.outputs.uploadname }})
265266
path: ~/cylc-run/
@@ -297,7 +298,7 @@ jobs:
297298
coverage report
298299
299300
- name: Upload coverage artifact
300-
uses: actions/upload-artifact@v3
301+
uses: actions/upload-artifact@v4
301302
with:
302303
name: coverage_${{ steps.uploadname.outputs.uploadname }}
303304
path: coverage.xml
@@ -312,7 +313,7 @@ jobs:
312313
uses: actions/checkout@v4
313314

314315
- name: Download coverage artifacts
315-
uses: actions/download-artifact@v3
316+
uses: actions/download-artifact@v4
316317

317318
- name: Codecov upload
318319
uses: codecov/codecov-action@v3

0 commit comments

Comments
 (0)