elmah.io Upload Source Map Action
ActionsTags
(2)Verified
GitHub Action to upload a source map on elmah.io
For the full documentation check out Source maps.
Required An API key with permission to upload source maps.
Required The ID of the log which should contain the minified JavaScript and source map.
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.
Required A path to the source map file. Only files with an extension of .map and content type of application/json will be accepted.
Required A path to the minified JavaScript file. Only files with an extension of .js and content type of text/javascript will be accepted.
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'
elmah.io Upload Source Map Action is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.