From 534fdd0e494fdbeae9d2f15182e2c25260c65bd6 Mon Sep 17 00:00:00 2001 From: zznty <94796179+zznty@users.noreply.github.com> Date: Tue, 5 Dec 2023 14:01:45 +0300 Subject: [PATCH] fix build --- .github/workflows/release.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d304fe4..d8d416a 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -22,7 +22,7 @@ jobs: - uses: actions/setup-dotnet@v3 name: Setup dotnet with: - dotnet-version: '7.0.x' + dotnet-version: '8.0.x' - name: Add Packages Nuget Source run: dotnet nuget add source "https://nuget.storage.yandexcloud.net/index.json" --name yandex-cloud @@ -36,7 +36,7 @@ jobs: - name: Build run: dotnet build Torch.Server/Torch.Server.csproj --no-restore -c ${{ env.BUILD_CONFIGURATION }} -p:Version="${{ steps.version.outputs.version }}" -p:AssemblyVersion="${{ steps.version.outputs.version }}" - name: Publish - run: dotnet publish Torch.Server/Torch.Server.csproj --no-build -r win-x64 --sc -c ${{ env.BUILD_CONFIGURATION }} -o ./publish + run: dotnet publish Torch.Server/Torch.Server.csproj --no-build --sc -c ${{ env.BUILD_CONFIGURATION }} -o ./publish - uses: vimtor/action-zip@v1 name: Zip Release