From 248ced4678d1bdd91a18875e31219322ef84bb8a Mon Sep 17 00:00:00 2001 From: Alexey 'Cluster' Avdyukhin Date: Fri, 22 Sep 2023 11:04:35 +0400 Subject: Actions fix --- .github/workflows/build-test.yml | 2 +- .github/workflows/release.yml | 2 +- NesTiler/NesTiler.csproj | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 296e210..916984d 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -68,7 +68,7 @@ jobs: dotnet-version: 6.0.x - name: Build env: - SC_OPS: ${{ matrix.sc == 'self-contained' && '--self-contained true' || '--no-self-contained' }} + SC_OPS: ${{ matrix.sc == 'self-contained' && '--self-contained true -p:PublishTrimmed=True' || '--no-self-contained' }} run: dotnet publish ${{ env.PROJECT_PATH }} -c ${{ env.CONFIGURATION }} -r ${{ matrix.os }}-${{ matrix.arch }} ${{ env.SC_OPS }} -o ${{ env.OUTPUT_DIR }}/${{ env.OUTPUT_SUBDIR }}/${{ env.APP_NAME }} - name: Archive working-directory: ${{ env.OUTPUT_DIR }}/${{ env.OUTPUT_SUBDIR }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 69ca38f..3b28c70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,7 +78,7 @@ jobs: dotnet-version: 6.0.x - name: Build env: - SC_OPS: ${{ matrix.sc == 'self-contained' && '--self-contained true -p:PublishTrimmed=False' || '--no-self-contained' }} + SC_OPS: ${{ matrix.sc == 'self-contained' && '--self-contained true -p:PublishTrimmed=True' || '--no-self-contained' }} run: dotnet publish ${{ env.PROJECT_PATH }} -c ${{ env.CONFIGURATION }} -r ${{ matrix.os }}-${{ matrix.arch }} ${{ env.SC_OPS }} -o ${{ env.OUTPUT_DIR }}/${{ env.OUTPUT_SUBDIR }}/${{ env.APP_NAME }} - name: Archive working-directory: ${{ env.OUTPUT_DIR }}/${{ env.OUTPUT_SUBDIR }} diff --git a/NesTiler/NesTiler.csproj b/NesTiler/NesTiler.csproj index e839f45..3c74529 100644 --- a/NesTiler/NesTiler.csproj +++ b/NesTiler/NesTiler.csproj @@ -10,7 +10,6 @@ LICENSE README.md false - true link true Debug;Release;Interim -- cgit v1.2.3