Skip to content
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

Argument list too long - On big JSON array #5

Open
JuniorEC opened this issue Feb 12, 2023 · 1 comment
Open

Argument list too long - On big JSON array #5

JuniorEC opened this issue Feb 12, 2023 · 1 comment

Comments

@JuniorEC
Copy link

I an try to create a file based on response of a previous step, and when i try to create a file using this lib, generates this error:

Error: An error occurred trying to start process '/home/runner/runners/2.301.1/externals/node16/bin/node' with working directory '/home/runner/work/landing-page-processor/landing-page-processor'. Argument list too long

See my file in:
https://firebasestorage.googleapis.com/v0/b/sortegram.appspot.com/o/artifact.json?alt=media&token=ab33d5f4-ce6d-456b-af62-e05043e4a777

@engahmeds3ed
Copy link

I fixed this by creating my own github action based on this , you can check it out here:
https://github.com/marketplace/actions/create-json-url

so instead of getting the json from external file in a step and pass its content to the next step that may fail with large json content file, in one step you can set the url and it will get its contents and save it locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants