Skip to content

Commit 3cfb260

Browse files
committed
Readme
1 parent fe38a9f commit 3cfb260

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

ReadMe.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -509,18 +509,22 @@ executors:
509509
environment:
510510
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
511511
NUGET_XMLDOC_MODE: skip
512+
jobs:
513+
publish-all:
514+
executor: dotnet
515+
steps:
516+
- checkout
517+
- run: dotnet publish -c Release --self-contained -r win-x64 -o ./bin/win-x64
518+
- run: dotnet publish -c Release --self-contained -r win-x64 -o ./bin/linux-x64
519+
- run: dotnet publish -c Release --self-contained -r win-x64 -o ./bin/osx-x64
520+
- store_artifacts:
521+
path: ./bin/
522+
destination: ./bin/
512523
workflows:
524+
version: 2
513525
publish:
514526
jobs:
515-
executor: dotnet
516-
steps:
517-
- checkout
518-
- run: dotnet public -c Release --self-contained -r win-x64 -o ./bin/win-x64
519-
- run: dotnet public -c Release --self-contained -r win-x64 -o ./bin/linux-x64
520-
- run: dotnet public -c Release --self-contained -r win-x64 -o ./bin/osx-x64
521-
- store_artifacts:
522-
path: ./bin/
523-
destination: ./bin/
527+
- publish-all
524528
```
525529
526530
CLI tool can use [.NET Core Global Tools](https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools). If you want to create it, check the [Global Tools how to create](https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools-how-to-create).

sandbox/MultiContainedApp/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class Program
1010
{
1111
static async Task Main(string[] args)
1212
{
13-
await new HostBuilder().RunBatchEngineAsync(args);
13+
await BatchHost.CreateDefaultBuilder().RunBatchEngineAsync(args);
1414
}
1515
}
1616

0 commit comments

Comments
 (0)