Skip to content

Commit

Permalink
Improve metrics workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
webeweb committed Apr 27, 2023
1 parent 3e4cdc3 commit 3304a35
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/metrics.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,10 @@ jobs:
- name: "Calculates"
run: php phpmetrics.phar --git --junit=build/logs/junit.xml --report-html=build/logs/ src/

- name: "Compress artifact"
run: |
cd build/logs
zip -r ../report.zip * -x junit.xml
- name: "Upload artifact"
uses: actions/upload-artifact@v3
with:
name: "metrics"
path: build/report.zip
path: |
build/logs
!build/logs/junit.xml

0 comments on commit 3304a35

Please sign in to comment.