From a753abb8fde05144c338ca604adba12a2a6f7856 Mon Sep 17 00:00:00 2001 From: zznty <94796179+zznty@users.noreply.github.com> Date: Sun, 9 Oct 2022 20:22:32 +0700 Subject: [PATCH] i love github and windows --- .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 973c662..ea22bd0 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -32,9 +32,9 @@ jobs: - name: Restore dependencies run: dotnet restore Torch.Server/Torch.Server.csproj --use-lock-file - name: Build - run: dotnet build Torch.Server/Torch.Server.csproj --no-restore -c $BUILD_CONFIGURATION /p:AssemblyVersion=$VERSION /p:Version=$VERSION + run: dotnet build Torch.Server/Torch.Server.csproj --no-restore -c $env:BUILD_CONFIGURATION /p:AssemblyVersion=$env:VERSION /p:Version=$env:VERSION - name: Publish - run: dotnet publish Torch.Server/Torch.Server.csproj --no-build -r win-x64 --sc -c $BUILD_CONFIGURATION + run: dotnet publish Torch.Server/Torch.Server.csproj --no-build -r win-x64 --sc -c $env:BUILD_CONFIGURATION - uses: vimtor/action-zip@v1 name: Zip Release with: