Skip to content

Running shell script is not compatible with way defaukt github actions behavior #133

@maor-lb

Description

@maor-lb

Describe the bug
Running shell script is not compatible with way github actions shell script is invoked.

For example when running bash shell script on linux
The script executed as follows:
bash --noprofile --norc -eo pipefail {0}

This code script to fail on first error.
On retry action multi line script might have errors but if the last line succeed step wouldn't retry and error ignored.

Expected behavior
Keep behavior of default github action

Documentation on github action behavior: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions