Skip to content

Commit 4e52b40

Browse files
authored
Merge pull request #2264 from crytic/dependabot/github_actions/dev/actions/download-artifact-4
Bump actions/{download,upload}-artifact from 3 to 4
2 parents e876d61 + 4a6920a commit 4e52b40

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/actions/upload-coverage/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ runs:
1515
# This method has the limitation of 1 coverage file per run, limiting some coverage between online/offline tests.
1616
- run: |
1717
COVERAGE_UUID=$(python3 -c "import uuid; print(uuid.uuid4())")
18-
echo "COVERAGE_UUID=${COVERAGE_UUID}" >> $GITHUB_OUTPUT
18+
echo "COVERAGE_UUID=${COVERAGE_UUID}" >> "$GITHUB_OUTPUT"
1919
if [ -f .coverage ]; then
2020
mv .coverage .coverage.${COVERAGE_UUID}
2121
fi
2222
id: coverage-uuid
2323
shell: bash
24-
- uses: actions/upload-artifact@v3.1.0
24+
- uses: actions/upload-artifact@v4
2525
with:
26-
name: coverage-data
26+
name: coverage-data-${{ steps.coverage-uuid.outputs.COVERAGE_UUID }}
2727
path: |
2828
.coverage.*
2929
*.lcov

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- build-release
3939
steps:
4040
- name: fetch dists
41-
uses: actions/download-artifact@v3
41+
uses: actions/download-artifact@v4
4242
with:
4343
name: slither-dists
4444
path: dist/

.github/workflows/test.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,10 @@ jobs:
109109
- run: pip install coverage[toml]
110110

111111
- name: download coverage data
112-
uses: actions/download-artifact@v3.0.2
112+
uses: actions/download-artifact@v4
113113
with:
114-
name: coverage-data
114+
pattern: coverage-data-*
115+
merge-multiple: true
115116

116117
- name: combine coverage data
117118
id: combinecoverage

0 commit comments

Comments
 (0)