Skip to content

Commit 5b754cb

Browse files
committed
[Build] Fix modules registration
1 parent c43187f commit 5b754cb

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

.github/workflows/PublishRelease.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
restore-keys: ${{ runner.os }}-nuget-
2626

2727
- name: Publish release
28-
run: dotnet run -c Release -- compile publish
28+
run: dotnet run -c Release -- publish
2929
working-directory: "build"
3030
env:
3131
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

build/Program.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,7 @@
1313

1414
builder.Services.AddOptions<PublishOptions>().Bind(builder.Configuration.GetSection("Publish"));
1515

16-
if (args.Contains("compile"))
17-
{
18-
builder.Services.AddModule<CompileProjectModule>();
19-
}
16+
builder.Services.AddModule<CompileProjectModule>();
2017

2118
if (args.Contains("publish"))
2219
{

0 commit comments

Comments
 (0)