mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-11 23:43:15 +08:00
Add exec (#10)
* Add exec * Fix linux tests * unnecessary dependency * Dont prefix ExecOptions with I * Consistency nits * Respond to feedback * Add toolrunner explanatory quote * Format
This commit is contained in:
14
packages/exec/__tests__/scripts/print-args-exe.cs
Normal file
14
packages/exec/__tests__/scripts/print-args-exe.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
using System;
|
||||
namespace PrintArgs
|
||||
{
|
||||
public static class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
for (int i = 0 ; i < args.Length ; i++)
|
||||
{
|
||||
Console.WriteLine("args[{0}]: '{1}'", i, args[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user