From 1b0b1b10f5de1de5a83de2032c811f630622efc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Stul=C3=ADk?= Date: Sat, 1 Jun 2024 09:00:10 +0200 Subject: [PATCH] Publish single file --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c2ce42d..d00a456 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -48,7 +48,7 @@ jobs: release_name="wcc-$tag-${{ matrix.target }}" # Build everything - dotnet publish WebsiteCertificateChecker/WebsiteCertificateChecker.csproj --runtime "${{ matrix.target }}" --self-contained true -c Release -o "$release_name" + dotnet publish WebsiteCertificateChecker/WebsiteCertificateChecker.csproj --runtime "${{ matrix.target }}" -p:PublishReadyToRun=true -p:PublishSingleFile=true -p:PublishTrimmed=true --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true -c Release -o "$release_name" # Pack files if [ "${{ matrix.target }}" == "win-x64" ] || [ "${{ matrix.target }}" == "win-arm64" ]; then