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

fix bash execution issues #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

falkenhawk
Copy link

This fixes execution issues mentioned in #1 for both linux and macos runners
fixes #1

This fixes execution issues mentioned in samsalisbury#1 for both linux and macos runners
fixes samsalisbury#1
@@ -19,7 +19,6 @@ commands:
when: <<parameters.when>>
name: "GitHub Status: <<parameters.state>>"
command: |
set -euo pipefail
Copy link

Choose a reason for hiding this comment

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

is it breaking something? Wasn't the plan to actually call set +u here?

Copy link
Author

Choose a reason for hiding this comment

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

set +u seems to be unnecessary, because it's never -u. Also neither are other flags, since it looks like cci runs bash with -eo pipefall flags by default.
nice explanation: https://gist.github.com/mohanpedala/1e2ff5661761d3abd0385e8223e16425

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.

/bin/bash: line 1: GITHUB_STATUS_CONTEXT: unbound variable
2 participants