Skip to content

Commit 521ba18

Browse files
authored
Do not attempt to read conf.yaml immediately, not all commands need it (#511)
1 parent 5e18d71 commit 521ba18

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/docs-assembler/Program.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
using ProcNet;
1717
using ProcNet.Std;
1818

19-
var configFile = Path.Combine(Paths.Root.FullName, "src/docs-assembler/conf.yml");
20-
var config = AssemblyConfiguration.Deserialize(File.ReadAllText(configFile));
21-
2219
var services = new ServiceCollection();
2320
services.AddGitHubActionsCore();
2421
services.AddLogging(x =>
@@ -47,7 +44,7 @@
4744
app.Add<RepositoryCommands>("repo");
4845

4946
var githubActions = ConsoleApp.ServiceProvider.GetService<ICoreService>();
50-
var command = githubActions?.GetInput("command");
47+
var command = githubActions?.GetInput("COMMAND");
5148
if (!string.IsNullOrEmpty(command))
5249
args = command.Split(' ');
5350

0 commit comments

Comments
 (0)