mirror of
https://github.com/actions/toolkit
synced 2025-05-10 00:53:10 +00: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:
parent
8ebbf59cb3
commit
c5f27c3c1b
13 changed files with 1609 additions and 0 deletions
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]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue