Skip to content

Commit add917a

Browse files
committed
Upgrade actions/upload-artifact to v4
1 parent f4d6204 commit add917a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ jobs:
114114
docker run -i --rm -v $PWD:/churn ${{ matrix.vcs }} /churn/vendor/bin/simple-phpunit -c /churn/phpunit.xml.dist /churn/tests/EndToEnd/${vcs^}Test.php --coverage-clover=/churn/coverage-${{ matrix.vcs }}.xml
115115
sed -i 's/\/churn\/src/\/home\/runner\/work\/${{ github.event.repository.name }}\/${{ github.event.repository.name }}\/src/g' coverage-${{ matrix.vcs }}.xml
116116
117-
- uses: actions/upload-artifact@v3
117+
- uses: actions/upload-artifact@v4
118118
with:
119-
name: coverage
119+
name: coverage-${{ matrix.vcs }}
120120
path: ./coverage-${{ matrix.vcs }}.xml
121121

122122
coverage:
@@ -148,7 +148,8 @@ jobs:
148148
- name: "Download other code coverage reports"
149149
uses: actions/download-artifact@v3
150150
with:
151-
name: coverage
151+
pattern: coverage-*
152+
merge-multiple: true
152153
path: ./coverage
153154

154155
- name: "List all coverage reports"
@@ -269,7 +270,7 @@ jobs:
269270
run: diff -u <(build/bin/churn --format=csv | sort) <(./churn.phar --format=csv | sort)
270271

271272
- name: "Save Phar"
272-
uses: actions/upload-artifact@v3
273+
uses: actions/upload-artifact@v4
273274
with:
274275
name: churn.phar
275276
path: ./churn.phar

0 commit comments

Comments
 (0)