Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
96af132d22 | ||
![]() |
72d149b548 | ||
![]() |
8719d8b17d | ||
![]() |
fbcc6b6a40 |
2
.github/workflows/se.yml
vendored
2
.github/workflows/se.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- 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.4.7/depotdownloader-2.4.7.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
|
run: dotnet ./tool/DepotDownloader.dll -app 298740 -depot 298741 -os windows -dir . -filelist dedi_dlls_list.txt -beta automatons-beta
|
||||||
- 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
|
||||||
|
6
.github/workflows/torch.yml
vendored
6
.github/workflows/torch.yml
vendored
@@ -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/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
|
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
|
||||||
- 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,8 @@ 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/master/lastSuccessfulBuild/buildNumber)-master"
|
run: echo "::set-output name=version::1.3.1.$(wget -qO- https://build.torchapi.com/job/Torch/job/publicbeta/lastSuccessfulBuild/buildNumber)-publicbeta"
|
||||||
- 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: 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 }}
|
run: dotnet nuget push ./Torch.Server.ReferenceAssemblies.nupkg --source https://nuget.pkg.github.com/${{ github.repository_owner }}/index.json --api-key ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
Reference in New Issue
Block a user