diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 4d7e845..fbb3946 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -71,7 +71,6 @@ jobs: output="artifacts/cli/$rid" dotnet publish src/PackageCascade.Cli/PackageCascade.Cli.csproj \ -c Release -r "$rid" --self-contained true -o "$output" \ - -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:IncludeAllContentForSelfExtract=true \ -p:DebugType=embedded \ -p:Version="$VERSION" -p:ContinuousIntegrationBuild=true -p:RepositoryUrl="$REPOSITORY_URL" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7184b99..3883454 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -76,7 +76,7 @@ jobs: with: global-json-file: global.json - name: Publish CLI - run: dotnet publish src/PackageCascade.Cli/PackageCascade.Cli.csproj -c Release -r ${{ matrix.rid }} --self-contained true -o artifacts/cli -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:IncludeAllContentForSelfExtract=true -p:DebugType=embedded + run: dotnet publish src/PackageCascade.Cli/PackageCascade.Cli.csproj -c Release -r ${{ matrix.rid }} --self-contained true -o artifacts/cli -p:DebugType=embedded - name: Run CLI help shell: bash run: ./artifacts/cli/${{ matrix.binary }} --help diff --git a/src/PackageCascade.Cli/PackageCascade.Cli.csproj b/src/PackageCascade.Cli/PackageCascade.Cli.csproj index 706d052..aef9d8b 100644 --- a/src/PackageCascade.Cli/PackageCascade.Cli.csproj +++ b/src/PackageCascade.Cli/PackageCascade.Cli.csproj @@ -8,6 +8,16 @@ false + + true + + + + + true + true + +