fix codeclimate breaking change on actions/upload-artifact

pull/7656/head
Nils Dijk 2024-07-12 11:49:18 +00:00
parent de30d51d84
commit d1a7923d50
2 changed files with 4 additions and 3 deletions

View File

@ -24,4 +24,4 @@ runs:
- uses: actions/upload-artifact@v4 - uses: actions/upload-artifact@v4
with: with:
path: "/tmp/codeclimate/*.json" path: "/tmp/codeclimate/*.json"
name: codeclimate name: codeclimate-${{ inputs.flags }}

View File

@ -401,8 +401,9 @@ jobs:
steps: steps:
- uses: actions/download-artifact@v4 - uses: actions/download-artifact@v4
with: with:
name: "codeclimate" path: codeclimate
path: "codeclimate" pattern: codeclimate-*
merge-multiple: true
- name: Upload coverage results to Code Climate - name: Upload coverage results to Code Climate
run: |- run: |-
cc-test-reporter sum-coverage codeclimate/*.json -o total.json cc-test-reporter sum-coverage codeclimate/*.json -o total.json