Skip to content

Commit

Permalink
passing -eo pipefail to bash
Browse files Browse the repository at this point in the history
  • Loading branch information
xu-cheng committed Nov 13, 2020
1 parent ea26f10 commit 13fd419
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ This action is suitable to run arbitrary commands in a LaTeX environment. If you

## Inputs

* `run`: Arbitrary bash codes to be executed.
* `run`: Arbitrary bash codes to be executed. It will be executed in the form of `bash -eo pipefail -c {input}`.

## Example

Expand Down
2 changes: 2 additions & 0 deletions full/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ runs:
image: docker://ghcr.io/xu-cheng/texlive-full:latest
entrypoint: /bin/bash
args:
- -eo
- pipefail
- -c
- ${{ inputs.run }}
branding:
Expand Down
2 changes: 2 additions & 0 deletions small/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ runs:
image: docker://ghcr.io/xu-cheng/texlive-small:latest
entrypoint: /bin/bash
args:
- -eo
- pipefail
- -c
- ${{ inputs.run }}
branding:
Expand Down

0 comments on commit 13fd419

Please sign in to comment.