Skip to content

Commit

Permalink
Fix action usage
Browse files Browse the repository at this point in the history
  • Loading branch information
egulias committed Dec 27, 2024
1 parent 2295600 commit e30356b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/upload-to-codacy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,17 @@ jobs:

steps:
- name: Setup logs directory
run: mkdir -p build/logs
run: mkdir -p build/coverage

- name: Download clover.xml artifact
uses: actions/download-artifact@v3
with:
name: clover.xml
path: build/logs
to: 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

0 comments on commit e30356b

Please sign in to comment.