mirror of
https://github.com/egulias/EmailValidator.git
synced 2026-08-25 06:48:27 +00:00
Use different action
This commit is contained in:
@@ -20,14 +20,15 @@ jobs:
|
||||
run: mkdir -p build/coverage
|
||||
|
||||
- name: Download clover.xml artifact
|
||||
uses: actions/download-artifact@v3
|
||||
uses: dawidd6/action-download-artifact@v7
|
||||
with:
|
||||
pr: ${{github.event.pull_request.number}}
|
||||
name: clover.xml
|
||||
path: build/logs
|
||||
path: build/coverage
|
||||
|
||||
- name: Upload Coverage to Codacy
|
||||
shell: bash
|
||||
env:
|
||||
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
|
||||
run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r build/logs/clover.xml
|
||||
run: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r build/coverage/clover.xml
|
||||
Reference in New Issue
Block a user