action.yml 410 B

12345678910111213
  1. name: 'Sentry Artifacts'
  2. description: 'Handles uploading coverage/test artifacts to codecov'
  3. runs:
  4. using: "composite"
  5. steps:
  6. - name: Upload to codecov
  7. shell: bash
  8. run: |
  9. coverage_files=$(ls .artifacts/*coverage.xml || true)
  10. if [[ -n "$coverage_files" || -f .artifacts/coverage/cobertura-coverage.xml ]]; then
  11. bash <(curl -s https://codecov.io/bash) -v
  12. fi