action.yml 746 B

123456789101112131415161718192021222324252627
  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. runs:
  16. using: 'composite'
  17. steps:
  18. - name: Upload to codecov
  19. uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # v4.0.1
  20. with:
  21. token: ${{ inputs.token }}
  22. flags: ${{ inputs.type }}
  23. files: ${{ inputs.files }}
  24. verbose: true
  25. continue-on-error: true