Compare commits

...

3 Commits

Author SHA1 Message Date
z__
d10528f9fe fixed RID 2022-02-03 19:39:07 +07:00
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\
before_build:
- pwsh: dotnet restore .\Torch.Server\Torch.Server.csproj
build:
project: Torch.Server/Torch.Server.csproj
verbosity: minimal
after_build:
build_script:
- 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 -f net6-windows -r win7-64 -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:
- path: torch-server.zip
deploy: