Test
This commit is contained in:
@@ -42,4 +42,4 @@ runs:
|
|||||||
ARTIFACT_FILENAME: ${{ inputs.artifactName }}
|
ARTIFACT_FILENAME: ${{ inputs.artifactName }}
|
||||||
UNZIP_DIR: ${{ inputs.unzipDir }}
|
UNZIP_DIR: ${{ inputs.unzipDir }}
|
||||||
with:
|
with:
|
||||||
command: run "${{ github.action_path }}/download-previous-artifacts.cs" "${{ toJSON(inputs) }}" "${{ github.token }}"
|
command: run "${{ github.action_path }}/download-previous-artifacts.cs" "${{ toJSON(inputs) }}"
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ Console.WriteLine("Hello, World!");
|
|||||||
|
|
||||||
|
|
||||||
string jsonInput = args.Length > 0 ? args[0] : "{}";
|
string jsonInput = args.Length > 0 ? args[0] : "{}";
|
||||||
|
Console.WriteLine($"JSON Input: {jsonInput}");
|
||||||
byte[] jsonBytes = Encoding.UTF8.GetBytes(jsonInput);
|
byte[] jsonBytes = Encoding.UTF8.GetBytes(jsonInput);
|
||||||
using MemoryStream memoryStream = new(jsonBytes);
|
using MemoryStream memoryStream = new(jsonBytes);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user