From 35daded6b6a5d662f920f96b7215e77b7d553917 Mon Sep 17 00:00:00 2001 From: Killers0992 <38152961+Killers0992@users.noreply.github.com> Date: Sat, 11 May 2024 18:23:35 +0200 Subject: [PATCH] Update --- Program.cs | 2 ++ action.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Program.cs b/Program.cs index 11827248..70bfb22b 100644 --- a/Program.cs +++ b/Program.cs @@ -1,6 +1,7 @@ using McMaster.Extensions.CommandLineUtils; using Microsoft.Extensions.Hosting; using DepotDownloader; +using System.ComponentModel.DataAnnotations; await Host.CreateDefaultBuilder() .RunCommandLineApplicationAsync(args); @@ -11,6 +12,7 @@ public class AppCommand [Option(Description = "Branch.")] public string Branch { get; set; } = ContentDownloader.DEFAULT_BRANCH; + [Required] [Option(Description = "Files to download.")] public string FilesToDownload { get; set; } = "Assembly-CSharp.dll"; diff --git a/action.yml b/action.yml index 49286966..465abde2 100644 --- a/action.yml +++ b/action.yml @@ -14,7 +14,7 @@ runs: using: "docker" image: "Dockerfile" args: - - "--filestodownload" + - "--filesToDownload" - ${{ inputs.filestodownload }} - "--branch" - ${{ inputs.branch }} \ No newline at end of file