diff --git a/.github/workflows/ts.yaml b/.github/workflows/ts.yaml index 0ed68656..0385f8ae 100644 --- a/.github/workflows/ts.yaml +++ b/.github/workflows/ts.yaml @@ -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 ``` diff --git a/src/run.ts b/src/run.ts index 10f43954..8c15da56 100644 --- a/src/run.ts +++ b/src/run.ts @@ -48,7 +48,7 @@ export const run = async (inputs: Inputs): Promise => { 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),