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