From c93c642e8ce01efa9bb3c10169abb1a41fa3afe4 Mon Sep 17 00:00:00 2001 From: Pascal Brunot Date: Mon, 1 Apr 2024 13:27:18 +0200 Subject: [PATCH] build script --- .github/workflows/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8f3de16..61cc630 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Setup dotnet ${{ matrix.dotnet-version }} - uses: actions/setup-dotnet@v3 + uses: actions/setup-dotnet@v4 with: dotnet-version: ${{ matrix.dotnet-version }} - name: Install dependencies @@ -22,9 +22,9 @@ jobs: - name: Build run: dotnet build - name: Publish - run: dotnet publish -c Release -o ${{ github.workspace }}/publish + run: dotnet publish -c Release -p:PublishSingleFile=true -p:PublishTrimmed=true -o publish - name: Archive - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: publish path: ${{ github.workspace }}/publish \ No newline at end of file