Skip to content

print github context in a different way #383

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

Merged
merged 1 commit into from
Jun 8, 2022

Conversation

jepler
Copy link
Contributor

@jepler jepler commented Jun 8, 2022

In a recent build [with an unusually long change message?] this failed, due to the overall limit on environment variable size in Linux:

An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/Adafruit_CircuitPython_Bundle/Adafruit_CircuitPython_Bundle'. Argument list too long

https://github.com/adafruit/Adafruit_CircuitPython_Bundle/actions/runs/2459215636 [link will work for a limited time due to github actions log expiration policy]

The new printed value may not be 100% the same as the old one but it's real close.

In a recent build [with an unusually long change message?] this failed, due to the overall limit on environment variable size in Linux:
```
An error occurred trying to start process '/usr/bin/bash' with working directory '/home/runner/work/Adafruit_CircuitPython_Bundle/Adafruit_CircuitPython_Bundle'. Argument list too long
```

https://github.com/adafruit/Adafruit_CircuitPython_Bundle/actions/runs/2459215636
[link will work for a limited time due to github actions log expiration
policy]

The new printed value may not be 100% the same as the old one but it's
real close.
@jepler
Copy link
Contributor Author

jepler commented Jun 8, 2022

We have similar code in core and libs (and via cookie cutter) so we would probably want to adopt this more widely if it works as well as the previous alternative. Otherwise, we could just figure out how to add 'ignore failures of this step' to the actions syntax.[edited to add: via "continue-on-error"]

Copy link
Contributor

@dhalbert dhalbert left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I was going to just ignore it with a shell option, but this is quite a bit better.

@dhalbert dhalbert merged commit 71289c0 into adafruit:main Jun 8, 2022
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

Successfully merging this pull request may close these issues.

2 participants