From e8bbb7f93f66346a126ca8cc2a69249b8582f451 Mon Sep 17 00:00:00 2001 From: Cai <13110818005@qq.com> Date: Wed, 21 Jan 2026 14:51:03 +0800 Subject: [PATCH] fix(ci): correct self-contained flag in publish --- .github/workflows/ci-otapi3.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-otapi3.yml b/.github/workflows/ci-otapi3.yml index f7e50037..54d22d83 100644 --- a/.github/workflows/ci-otapi3.yml +++ b/.github/workflows/ci-otapi3.yml @@ -39,12 +39,12 @@ jobs: - name: Produce installer run: | cd TShockInstaller - dotnet publish -r ${{ matrix.arch }} -f net9.0 -c Release -p:PublishSingleFile=true --self-contained true + dotnet publish -r ${{ matrix.arch }} -f net9.0 -c Release -p:PublishSingleFile=true --self-contained - name: Produce build run: | cd TShockLauncher - dotnet publish -r ${{ matrix.arch }} -f net9.0 -c Release -p:PublishSingleFile=true --self-contained false + dotnet publish -r ${{ matrix.arch }} -f net9.0 -c Release -p:PublishSingleFile=true --no-self-contained - name: Chmod scripts if: ${{ matrix.arch != 'win-x64' }}