diff options
-rw-r--r-- | .github/workflows/build-test.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 6437d69..6172e0d 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -40,7 +40,7 @@ jobs: dotnet-version: 6.0.x
- name: Build
env:
- SC_OPS: ${{ matrix.sc == 'self-contained' && '--self-contained true -p:PublishTrimmed=True' || '--no-self-contained' }}
+ SC_OPS: ${{ matrix.sc == 'self-contained' && '--self-contained true' || '--no-self-contained' }}
run: dotnet publish ${{ env.PROJECT_PATH }} -c ${{ env.CONFIGURATION }} -r ${{ matrix.os }}-${{ matrix.arch }} -p:PublishSingleFile=true ${{ env.SC_OPS }} -o ${{ env.OUTPUT_DIR }}/${{ env.OUTPUT_SUBDIR }}/${{ env.APP_NAME }} -p:IncludeAllContentForSelfExtract=true
- name: Upload artifact
uses: actions/upload-artifact@v3
|