We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c95f5a5 commit 2fc9021Copy full SHA for 2fc9021
action.yaml
@@ -30,17 +30,18 @@ runs:
30
- name: Run Ahk2Exe
31
shell: pwsh
32
run: |
33
- $params = ''
+ $command = 'ahk2exe.exe /silent '
34
if('${{inputs.in}}' -ne ''){
35
- $params += '/in "${{inputs.in}}" '
+ $command += '/in "${{inputs.in}}" '
36
}
37
if('${{inputs.out}}' -ne ''){
38
- $params += '/out "${{inputs.out}}" '
+ $command += '/out "${{inputs.out}}" '
39
40
if('${{inputs.icon}}' -ne ''){
41
- $params += '/icon "${{inputs.icon}}" '
+ $command += '/icon "${{inputs.icon}}" '
42
43
- ahk2exe.exe /silent $params | Write-Output
+ $command += "| Write-Output"
44
+ Invoke-Expression $command
45
46
branding:
47
color: green
0 commit comments