Compare commits

15 Commits
ptb ... master

Author SHA1 Message Date
zznty
2662709af5 Update torch.yml 2024-01-16 13:43:59 +03:00
zznty
13ee809706 Update se.yml 2024-01-16 13:43:51 +03:00
zznty
da843c9afd add new feed for torch 2023-11-20 09:01:38 +03:00
zznty
567d74b72b add new feed for se 2023-11-20 09:00:55 +03:00
76858e3d6d Update dependency version 2023-10-27 12:58:08 -04:00
6925196604 Update dependency version 2023-10-26 15:00:22 -04:00
5a0506d47c Update dependency to latest version 2023-09-13 11:16:35 -04:00
3bb35e3eb3 Update for latest version 2023-09-04 13:39:50 -04:00
c89b8c1a56 Update SE package version 2023-08-31 13:55:44 -04:00
63a2d13c3e Update SE package version 2023-06-21 22:39:03 -04:00
62524e1beb update for latest version 2023-06-01 14:24:17 -04:00
9e7b90ffba Update dependency for latest SE version 2023-05-25 20:27:16 -04:00
7ee5ff5f5d Update for latest SE version 2023-05-11 15:57:05 -04:00
955b0febd9 Update dependency for hotfix 2023-04-18 12:27:44 -04:00
zznty
9ee58f4a35 Update Torch.Server.ReferenceAssemblies.nuspec 2023-04-16 10:41:52 +03:00
3 changed files with 27 additions and 9 deletions

View File

@@ -21,14 +21,23 @@ jobs:
with: with:
dotnet-version: '7.0.x' dotnet-version: '7.0.x'
- name: Download Depot tool - name: Download Depot tool
run: wget https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.4.7/depotdownloader-2.4.7.zip -O tool.zip && 7z x tool.zip -o./tool && rm tool.zip run: wget https://github.com/SteamRE/DepotDownloader/releases/download/DepotDownloader_2.5.0/depotdownloader-2.5.0.zip -O tool.zip && 7z x tool.zip -o./tool && rm tool.zip
- name: Download Steam Dlls - name: Download Steam Dlls
run: dotnet ./tool/DepotDownloader.dll -app 298740 -depot 298741 -os windows -dir . -filelist dedi_dlls_list.txt -beta automatons-beta run: dotnet ./tool/DepotDownloader.dll -app 298740 -depot 298741 -os windows -dir . -filelist dedi_dlls_list.txt
- name: Prepare folder structure - name: Prepare folder structure
run: mkdir -p ./nuget/lib/net48 run: mkdir -p ./nuget/lib/net48
- name: Copy binaries - name: Copy binaries
run: cp ./DedicatedServer64/* ./nuget/lib/net48 run: cp ./DedicatedServer64/* ./nuget/lib/net48
- name: Create Nuget Package - name: Create Nuget Package
run: nuget pack specs/SpaceEngineersDedicated.ReferenceAssemblies.nuspec -BasePath ./nuget -Version ${{ inputs.version }} -NonInteractive -NoPackageAnalysis -OutputFileNamesWithoutVersion run: nuget pack specs/SpaceEngineersDedicated.ReferenceAssemblies.nuspec -BasePath ./nuget -Version ${{ inputs.version }} -NonInteractive -NoPackageAnalysis -OutputFileNamesWithoutVersion
- name: Install Sleet
run: dotnet tool install -g sleet --version 5.1.3
- name: Push Nuget Package - name: Push Nuget Package
run: dotnet nuget push ./SpaceEngineersDedicated.ReferenceAssemblies.nupkg --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --api-key ${{ secrets.GITHUB_TOKEN }} env:
SLEET_FEED_TYPE: s3
SLEET_FEED_PATH: https://nuget.storage.yandexcloud.net
SLEET_FEED_BUCKETNAME: nuget
SLEET_FEED_SERVICEURL: https://storage.yandexcloud.net
SLEET_FEED_ACCESSKEYID: ${{ secrets.S3_KEY_ID }}
SLEET_FEED_SECRETACCESSKEY: ${{ secrets.S3_KEY }}
run: sleet push ./SpaceEngineersDedicated.ReferenceAssemblies.nupkg

View File

@@ -16,7 +16,7 @@ jobs:
with: with:
dotnet-version: '7.0.x' dotnet-version: '7.0.x'
- name: Download Dlls - name: Download Dlls
run: mkdir torch && wget --content-disposition --trust-server-names -P torch/ https://build.torchapi.com/job/Torch/job/publicbeta/lastSuccessfulBuild/artifact/bin/x64/Release/Torch.API.dll https://build.torchapi.com/job/Torch/job/publicbeta/lastSuccessfulBuild/artifact/bin/x64/Release/Torch.dll https://build.torchapi.com/job/Torch/job/publicbeta/lastSuccessfulBuild/artifact/bin/x64/Release/Torch.Server.exe run: mkdir torch && wget --content-disposition --trust-server-names -P torch/ https://build.torchapi.com/job/Torch/job/master/lastSuccessfulBuild/artifact/bin/x64/Release/Torch.API.dll https://build.torchapi.com/job/Torch/job/master/lastSuccessfulBuild/artifact/bin/x64/Release/Torch.dll https://build.torchapi.com/job/Torch/job/master/lastSuccessfulBuild/artifact/bin/x64/Release/Torch.Server.exe https://build.torchapi.com/job/Torch/job/master/lastSuccessfulBuild/artifact/bin/x64/Release/Torch.API.xml https://build.torchapi.com/job/Torch/job/master/lastSuccessfulBuild/artifact/bin/x64/Release/Torch.xml https://build.torchapi.com/job/Torch/job/master/lastSuccessfulBuild/artifact/bin/x64/Release/Torch.Server.xml
- name: Fix Torch.Server extension - name: Fix Torch.Server extension
run: mv torch/Torch.Server.exe torch/Torch.Server.dll run: mv torch/Torch.Server.exe torch/Torch.Server.dll
- name: Prepare folder structure - name: Prepare folder structure
@@ -25,8 +25,17 @@ jobs:
run: cp ./torch/* ./nuget/lib/net48 run: cp ./torch/* ./nuget/lib/net48
- name: Get Torch version - name: Get Torch version
id: torch_version id: torch_version
run: echo "::set-output name=version::1.3.1.$(wget -qO- https://build.torchapi.com/job/Torch/job/publicbeta/lastSuccessfulBuild/buildNumber)-publicbeta" run: echo "::set-output name=version::1.3.1.$(wget -qO- https://build.torchapi.com/job/Torch/job/master/lastSuccessfulBuild/buildNumber)-master"
- name: Create Nuget Package - name: Create Nuget Package
run: nuget pack specs/Torch.Server.ReferenceAssemblies.nuspec -BasePath ./nuget -Version ${{ steps.torch_version.outputs.version }} -NonInteractive -NoPackageAnalysis -OutputFileNamesWithoutVersion run: nuget pack specs/Torch.Server.ReferenceAssemblies.nuspec -BasePath ./nuget -Version ${{ steps.torch_version.outputs.version }} -NonInteractive -NoPackageAnalysis -OutputFileNamesWithoutVersion
- name: Install Sleet
run: dotnet tool install -g sleet --version 5.1.3
- name: Push Nuget Package - name: Push Nuget Package
run: dotnet nuget push ./Torch.Server.ReferenceAssemblies.nupkg --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --api-key ${{ secrets.GITHUB_TOKEN }} env:
SLEET_FEED_TYPE: s3
SLEET_FEED_PATH: https://nuget.storage.yandexcloud.net
SLEET_FEED_BUCKETNAME: nuget
SLEET_FEED_SERVICEURL: https://storage.yandexcloud.net
SLEET_FEED_ACCESSKEYID: ${{ secrets.S3_KEY_ID }}
SLEET_FEED_SECRETACCESSKEY: ${{ secrets.S3_KEY }}
run: sleet push ./Torch.Server.ReferenceAssemblies.nupkg

View File

@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd"> <package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata> <metadata>
<id>Torch.Server.ReferenceAssemblies</id> <id>Torch.Server.ReferenceAssemblies</id>
@@ -11,7 +11,7 @@
<repository type="git" url="https://github.com/PveTeam/se-torch-nuget" /> <repository type="git" url="https://github.com/PveTeam/se-torch-nuget" />
<dependencies> <dependencies>
<group targetFramework=".NETFramework4.8"> <group targetFramework=".NETFramework4.8">
<dependency id="SpaceEngineersDedicated.ReferenceAssemblies" version="1.201.13" /> <dependency id="SpaceEngineersDedicated.ReferenceAssemblies" version="1.203.505.1" />
<dependency id="NLog" version="4.4.12" /> <dependency id="NLog" version="4.4.12" />
<dependency id="Newtonsoft.Json" version="12.0.2" /> <dependency id="Newtonsoft.Json" version="12.0.2" />
</group> </group>