action.yml 747 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@81cd2dc8148241f03f5839d295e000b8f761e378 # v3.1.0
  20. with:
  21. token: ${{ inputs.token }}
  22. flags: ${{ inputs.type }}
  23. files: ${{ inputs.files }}
  24. verbose: true
  25. continue-on-error: true