Skip to content

Commit 6afb08b

Browse files
committed
Removed curly braces enclosing the docker run command which are interpreted as a script block by Powershell.
1 parent 82fe36e commit 6afb08b

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

action.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,7 @@ runs:
9696
-w ${{ steps.settings.outputs.work_path }} `
9797
${{ inputs.image }} `
9898
${{ inputs.entrypoint_args }} `
99-
{ `
100-
${{ inputs.pre-warm-cmd }} `
101-
}
99+
${{ inputs.pre-warm-cmd }}
102100
exit 0
103101
shell: powershell -NoLogo -NonInteractive -NoProfile -OutputFormat Text -Command ". '{0}'"
104102
- name: Run
@@ -116,9 +114,7 @@ runs:
116114
-w ${{ steps.settings.outputs.work_path }} `
117115
${{ inputs.image }} `
118116
${{ inputs.entrypoint_args }} `
119-
{ `
120-
${{ inputs.run }} `
121-
}
117+
${{ inputs.run }}
122118
shell: powershell -NoLogo -NonInteractive -NoProfile -OutputFormat Text -Command ". '{0}'"
123119
- name: docker_logout
124120
id: docker_logout

0 commit comments

Comments
 (0)