From d0e7aa294647254d9ffa8d560483f539eaccdf70 Mon Sep 17 00:00:00 2001 From: Tino Hager Date: Wed, 28 Feb 2024 21:48:20 +0100 Subject: [PATCH] Update dotnet-release.yml --- .github/workflows/dotnet-release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/dotnet-release.yml b/.github/workflows/dotnet-release.yml index 0a2cc9a..7d7deb8 100644 --- a/.github/workflows/dotnet-release.yml +++ b/.github/workflows/dotnet-release.yml @@ -21,10 +21,11 @@ jobs: run: dotnet restore - name: Build working-directory: ./src - run: dotnet build ./src/Nager.WindowsCalendarWeek/Nager.WindowsCalendarWeek.csproj --configuration Release --no-restore /p:NoWarn=1591 + run: dotnet build ./Nager.WindowsCalendarWeek/Nager.WindowsCalendarWeek.csproj --configuration Release --no-restore /p:NoWarn=1591 - name: Build project + working-directory: ./src run: | - dotnet publish ./src/Nager.WindowsCalendarWeek/Nager.WindowsCalendarWeek.csproj --configuration Release --self-contained false --runtime win-x64 -p:PublishReadyToRun=true -p:PublishSingleFile=true --output ./publish/temp + dotnet publish ./Nager.WindowsCalendarWeek/Nager.WindowsCalendarWeek.csproj --configuration Release --self-contained false --runtime win-x64 -p:PublishReadyToRun=true -p:PublishSingleFile=true --output ./publish/temp - uses: vimtor/action-zip@v1 with: files: ./publish/temp