Compare commits

...

5 Commits

Author SHA1 Message Date
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 9 deletions

View File

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

View File

@@ -47,16 +47,12 @@ install:
cache: cache:
- c:\steam\dedi\ - c:\steam\dedi\
- c:\steam\cmd\ - c:\steam\cmd\
before_build: build_script:
- pwsh: dotnet restore .\Torch.Server\Torch.Server.csproj
build:
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 -f net6-windows -r win-x64 -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: