action.yml 647 B

1234567891011121314151617181920212223
  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. runs:
  13. using: "composite"
  14. steps:
  15. - name: Upload to codecov
  16. uses: codecov/codecov-action@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
  17. with:
  18. flags: ${{ inputs.type }}
  19. files: ${{ inputs.files }}
  20. verbose: true
  21. continue-on-error: true