Git Product home page Git Product logo

github-upload-source-map-action's Introduction

elmah.io Upload Source Map Action

GitHub Action to upload a source map on elmah.io

For the full documentation check out Source maps.

Inputs

apiKey

Required An API key with permission to upload source maps.

logId

Required The ID of the log which should contain the minified JavaScript and source map.

path

Required An URL to the online minified JavaScript file. The URL can be absolute or relative but will always be converted to a relative path (no protocol, domain, and query parameters). elmah.io uses this path to lookup any lines in a JS stack trace that will need de-minification.

sourceMap

Required A path to the source map file. Only files with an extension of .map and content type of application/json will be accepted.

minifiedJavaScript

Required A path to the minified JavaScript file. Only files with an extension of .js and content type of text/javascript will be accepted.

Example usage

Here's an example of how to use this action:

uses: elmahio/github-upload-source-map-action@v1
with:
  apiKey: ${{ secrets.ELMAH_IO_API_KEY }}
  logId: ${{ secrets.ELMAH_IO_LOG_ID }}
  path: '/bundles/sharedbundle.min.js'
  sourceMap: 'path/to/sharedbundle.map'
  minifiedJavaScript: 'path/to/sharedbundle.min.js'

github-upload-source-map-action's People

Contributors

thomasardal avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

github-upload-source-map-action's Issues

Bulk upload of source maps?

We have ~1200 source map files... Sounds like there is a limit of 500 file uploads, and 500+ POSTs seems like an awful lot to do, anyway... It would be great if there were a way to upload a single zip file of all the source maps.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.