Repository navigation
feat: Add debug_files input to upload debug information files
#351
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 2 commits
9b9eff4
f6a167a
8804856
5b4be83
8ff1a0e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -88,6 +88,19 @@ export const getSourcemaps = (): string[] => { | |
| return sourcemapsOption.split(' '); | ||
| }; | ||
|
|
||
| /** | ||
| * Debug files are optional, but there may be several as a space-separated list. | ||
| * @returns string[] | ||
| */ | ||
| export const getDebugFiles = (): string[] => { | ||
| const debugFilesOption: string = core.getInput('debug_files'); | ||
| if (!debugFilesOption) { | ||
| return []; | ||
| } | ||
|
|
||
| return debugFilesOption.split(' '); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can these files themselves have spaces?
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Or like empty strings
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed empty strings, but files with spaces are just not supported, same as with our sourcemaps. That's just a limitation we have. |
||
| }; | ||
|
|
||
| /** | ||
| * Dist is optional, but should be a string when provided. | ||
| * @returns string | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.