diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ba9b597..056e0bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,11 +49,9 @@ jobs: run: | OUTPUT_DIR="$(pwd)/build/sc/$RID" echo "### Building self contained binary for $RID to $OUTPUT_DIR" - dotnet publish -c Release -p:PublishDir=$OUTPUT_DIR -r $RID \ - -p:PublishReadyToRun=true -p:PublishSingleFile=true \ - -p:DebugType=None -p:DebugSymbols=false -p:PublishTrimmed=true \ - --self-contained true -p:IncludeNativeLibrariesForSelfExtract=true \ - -p:EnableCompressionInSingleFile=true + dotnet publish -c Release -r $RID --self-contained true -p:PublishDir=$OUTPUT_DIR -p:PublishReadyToRun=true \ + -p:PublishSingleFile=true -p:DebugType=None -p:DebugSymbols=false \ + -p:IncludeNativeLibrariesForSelfExtract=true -p:EnableCompressionInSingleFile=true cd $OUTPUT_DIR FILENAME=$(ls hbs*) SUFFIX=${FILENAME#hbs} @@ -75,10 +73,8 @@ jobs: run: | OUTPUT_DIR="$(pwd)/build/fd/$RID" echo "### Building framework dependent binary for $RID to $OUTPUT_DIR" - dotnet publish -c Release -p:PublishDir=$OUTPUT_DIR -r $RID \ - -p:PublishReadyToRun=true -p:PublishSingleFile=true \ - -p:DebugType=None -p:DebugSymbols=false \ - --self-contained false -p:IncludeNativeLibrariesForSelfExtract=true + dotnet publish -c Release -r $RID --self-contained false -p:PublishDir=$OUTPUT_DIR -p:PublishSingleFile=true \ + -p:DebugType=None -p:DebugSymbols=false -p:IncludeNativeLibrariesForSelfExtract=true cd $OUTPUT_DIR FILENAME=$(ls hbs*) SUFFIX=${FILENAME#hbs}