Compare commits

..

6 Commits

Author SHA1 Message Date
z__
d5c101bf19 i believe we're done 2022-02-03 19:49:16 +07:00
z__
e9841b4de1 now should work 2022-02-03 19:43:54 +07:00
z__
aea0011683 maybe 2022-02-03 19:41:13 +07:00
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
2 changed files with 4 additions and 10 deletions

View File

@@ -161,6 +161,5 @@
<ItemGroup>
<Page Remove="Views\WorldSelectControl.xaml" />
<None Include="..\NLog.config" Visible="false" CopyToOutputDirectory="PreserveNewest" CopyToPublishDirectory="Always" />
<None Include="..\Dockerfile" Visible="false" CopyToPublishDirectory="Always" />
</ItemGroup>
</Project>

View File

@@ -47,16 +47,11 @@ install:
cache:
- c:\steam\dedi\
- 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 win-x64 -c Release -o .\publish\
Compress-Archive -Path .\publish\ -DestinationPath torch-server.zip
Compress-Archive -Path .\publish\* -DestinationPath .\torch-server.zip
artifacts:
- path: torch-server.zip
deploy: