mirror of
https://github.com/actions/toolkit
synced 2025-05-10 00:53:10 +00:00
toolrunner should which tool before invoking (#220)
This commit is contained in:
parent
9a3c005162
commit
5c894298f2
10 changed files with 261 additions and 65 deletions
12
packages/exec/__tests__/scripts/print-args-cmd.cmd
Normal file
12
packages/exec/__tests__/scripts/print-args-cmd.cmd
Normal file
|
@ -0,0 +1,12 @@
|
|||
@echo off
|
||||
setlocal
|
||||
set index=0
|
||||
|
||||
:check_arg
|
||||
set arg=%1
|
||||
if not defined arg goto :eof
|
||||
set "arg=%arg:"=<quote>%"
|
||||
echo args[%index%]: "%arg%"
|
||||
set /a index=%index%+1
|
||||
shift
|
||||
goto check_arg
|
Loading…
Add table
Add a link
Reference in a new issue