action.yml 883 B

1234567891011121314151617181920212223242526272829303132
  1. name: 'Sentry Artifacts'
  2. description: 'Handles uploading coverage/test artifacts to codecov'
  3. inputs:
  4. files:
  5. description: 'Path to coverage file(s) - comma separated for multiple files'
  6. default: '.artifacts/*.coverage.xml'
  7. required: true
  8. type:
  9. description: 'The type of change (frontend, backend)'
  10. default: 'backend'
  11. required: false
  12. token:
  13. description: 'The codecov token'
  14. required: true
  15. commit_sha:
  16. description: 'The commit sha'
  17. required: true
  18. runs:
  19. using: 'composite'
  20. steps:
  21. - name: Upload to codecov
  22. uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1
  23. with:
  24. token: ${{ inputs.token }}
  25. flags: ${{ inputs.type }}
  26. files: ${{ inputs.files }}
  27. override_commit: ${{ inputs.commit_sha}}
  28. plugin: noop
  29. verbose: true
  30. continue-on-error: true