Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/ts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@ jobs:
continue-on-error: true
uses: ./
with:
run: false
run: |
date | cut -f1 -d' '
false
post-on-success: |
## :white_check_mark: Success
```
Expand Down
2 changes: 1 addition & 1 deletion src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export const run = async (inputs: Inputs): Promise<void> => {

const runCommand = async (cmdline: string) => {
const lines: string[] = []
const code = await exec.exec(cmdline, undefined, {
const code = await exec.exec('bash', ['-c', cmdline], {
ignoreReturnCode: true,
listeners: {
stdline: (s) => lines.push(s),
Expand Down