Skip to content

Commit

Permalink
chore: update github action version
Browse files Browse the repository at this point in the history
  • Loading branch information
sheplu committed Feb 27, 2024
1 parent 0e3ab6e commit c407072
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,9 +178,9 @@ jobs:
mv "./${{ matrix.name }}" "./coverage/${{ matrix.name }}"
- name: Upload code coverage
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: coverage
name: coverage-${{ matrix.name }}
path: ./coverage
retention-days: 1

Expand All @@ -195,16 +195,17 @@ jobs:
run: sudo apt-get -y install lcov

- name: Collect coverage reports
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: coverage
name: coverage-*
merge-multiple: true
path: ./coverage

- name: Merge coverage reports
shell: bash
run: find ./coverage -name lcov.info -exec printf '-a %q\n' {} \; | xargs lcov -o ./coverage/lcov.info

- name: Upload coverage report
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# - name: Upload coverage report
# uses: coverallsapp/github-action@master
# with:
# github-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c407072

Please sign in to comment.