Compare commits

..

2 Commits

Author SHA1 Message Date
z__
66ea4d7307 build script update 2022-02-03 19:34:06 +07:00
z__
f6ce40a854 again updated ci buildfile 2022-02-03 19:04:42 +07:00

View File

@@ -49,14 +49,12 @@ cache:
- c:\steam\cmd\ - c:\steam\cmd\
before_build: before_build:
- pwsh: dotnet restore .\Torch.Server\Torch.Server.csproj - pwsh: dotnet restore .\Torch.Server\Torch.Server.csproj
build: build_script:
project: Torch.Server/Torch.Server.csproj
verbosity: minimal
after_build:
- pwsh: >- - pwsh: >-
dotnet publish .\Torch.Server\Torch.Server.csproj --self-contained -c Release -o .\publish\ --no-build dotnet publish .\Torch.Server\Torch.Server.csproj --self-contained -c Release -o .\publish\
Compress-Archive -Path .\publish\ -DestinationPath torch-server.zip cmd /c "rmdir GameBinaries"
Compress-Archive -Path .\publish\* -DestinationPath torch-server.zip
artifacts: artifacts:
- path: torch-server.zip - path: torch-server.zip
deploy: deploy: