Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
srz-zumix committed Feb 19, 2024
1 parent 7f86a50 commit e010c15
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions dist/post/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/post/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ async function resolveShell(): Promise<string[]> {
default: ['bash', '-e', '{0}'],
sh: ['sh', '-e', '{0}'],
bash: ['bash', '--noprofile', '--norc', '-eo', 'pipefail', '{0}'],
cmd: ['cmd', '/D', '/E:ON', '/V:OFF', '/S', '/C', 'CALL "{0}"'],
pwsh: ['pwsh', '-command', ". '{0}'"],
powershell: ['powershell', '-command', ". '{0}'"]
cmd: ['cmd', '/D', '/E:ON', '/V:OFF', '/S', '/C', '"CALL "{0}""'],
pwsh: ['pwsh', '-command', '". \'{0}\'"'],
powershell: ['powershell', '-command', '". \'{0}\'"']
}
const shellCommand = core.getInput('shell', { required: false })
if (!shellCommand) {
Expand Down

0 comments on commit e010c15

Please sign in to comment.