This commit is contained in:
2025-06-30 01:22:15 -07:00
parent 579c6f2074
commit 533a2d1319
2 changed files with 2 additions and 1 deletions

View File

@@ -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) }}"

View File

@@ -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);