From 6e60331017a032905092552bcc784cf6028491c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joonatan=20Uusv=C3=A4li?= Date: Fri, 9 Oct 2026 20:57:29 +0300 Subject: [PATCH] Cli error message fixed. Build&Test pipeline adjusted to upload all binaries. --- .github/workflows/build-and-test.yml | 7 +++++-- src/Cli/Cli.cs | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index 05aaf89..b75c3f0 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -36,15 +36,18 @@ jobs: - name: Build run: dotnet build src/ByteAether.Ulid.slnx --configuration CI-Debug --no-restore - - name: Upload DLLs + - name: Upload binaries uses: actions/upload-artifact@v7 with: - name: dlls-${{ steps.vars.outputs.sha_short }} + name: binaries-${{ steps.vars.outputs.sha_short }} path: | ./**/Ulid/bin/**/*.dll ./**/EFCore/bin/**/*.dll ./**/LinqToDB/bin/**/*.dll ./**/Dapper/bin/**/*.dll + ./**/AspNetCore/bin/**/*.dll + ./**/Cli/bin/**/*.dll + ./**/Cli/bin/**/ByteAether.Ulid.Cli - name: Run framework tests run: | diff --git a/src/Cli/Cli.cs b/src/Cli/Cli.cs index f3c65a3..c3eaff3 100644 --- a/src/Cli/Cli.cs +++ b/src/Cli/Cli.cs @@ -53,7 +53,7 @@ private static int Execute(GenerateOptions options, TextWriter stdout, TextWrite { if (!TryNormalizeFormat(options.Format, out var format)) { - stderr.WriteLine($"Error: Unknown format '{options.Format}'. Available formats: crockford32 (crockford, base32, canonical), hex, guid."); + stderr.WriteLine($"Error: Unknown format '{options.Format}'. Available formats: base32 (default), hex, guid."); return 1; }