first try
This commit is contained in:
40
.github/workflows/se.yml
vendored
Normal file
40
.github/workflows/se.yml
vendored
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
name: Se Dedicated Package
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
version:
|
||||||
|
description: 'Game version string'
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
packages: write
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Main:
|
||||||
|
name: Build Nuget Package
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@master
|
||||||
|
- uses: actions/setup-dotnet@v3
|
||||||
|
with:
|
||||||
|
dotnet-version: '6.0.x'
|
||||||
|
- 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
|
||||||
|
- name: Download Steam Dlls
|
||||||
|
run: dotnet DepotDownloader.dll -app 298740 -depot 298741 -os windows -dir . -filelist dedi_dlls_list.txt
|
||||||
|
- name: Install Nuget CLI
|
||||||
|
run: sudo apt-get install -y nuget
|
||||||
|
- name: Prepare folder structure
|
||||||
|
run: mkdir -p ./nuget/lib/net48
|
||||||
|
- name: Copy binaries
|
||||||
|
run: cp ./DedicatedServer64/*.dll ./nuget/lib/net48
|
||||||
|
- name: Create Nuget Package
|
||||||
|
run: nuget pack specs/SpaceEngineersDedicated.ReferenceAssemblies.nuspec -BasePath ./nuget -Version ${{ inputs.version }} -NonInteractive -NoPackageAnalysis -OutputFileNamesWithoutVersion
|
||||||
|
- name: Push Nuget Package
|
||||||
|
uses: tanaka-takayoshi/nuget-publish-to-github-packages-action@v2.1
|
||||||
|
with:
|
||||||
|
nupkg-path: './SpaceEngineersDedicated.ReferenceAssemblies.nupkg'
|
||||||
|
repo-owner: ${{ github.repository_owner }}
|
||||||
|
gh-user: ${{ github.actor }}
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
22
dedi_dlls_list.txt
Normal file
22
dedi_dlls_list.txt
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
DedicatedServer64/HavokWrapper.dll
|
||||||
|
DedicatedServer64/Sandbox.Common.dll
|
||||||
|
DedicatedServer64/Sandbox.Game.dll
|
||||||
|
DedicatedServer64/Sandbox.Graphics.dll
|
||||||
|
DedicatedServer64/SpaceEngineers.Game.dll
|
||||||
|
DedicatedServer64/SpaceEngineers.ObjectBuilders.dll
|
||||||
|
DedicatedServer64/VRage.dll
|
||||||
|
DedicatedServer64/VRage.Dedicated.dll
|
||||||
|
DedicatedServer64/VRage.Audio.dll
|
||||||
|
DedicatedServer64/VRage.EOS.dll
|
||||||
|
DedicatedServer64/VRage.Steam.dll
|
||||||
|
DedicatedServer64/VRage.Game.dll
|
||||||
|
DedicatedServer64/VRage.Input.dll
|
||||||
|
DedicatedServer64/VRage.Library.dll
|
||||||
|
DedicatedServer64/VRage.Math.dll
|
||||||
|
DedicatedServer64/VRage.Mod.Io.dll
|
||||||
|
DedicatedServer64/VRage.Network.dll
|
||||||
|
DedicatedServer64/VRage.Platform.Windows.dll
|
||||||
|
DedicatedServer64/VRage.Render.dll
|
||||||
|
DedicatedServer64/VRage.Render11.dll
|
||||||
|
DedicatedServer64/VRage.Scripting.dll
|
||||||
|
DedicatedServer64/VRage.UserInterface.dll
|
14
specs/SpaceEngineersDedicated.ReferenceAssemblies.nuspec
Normal file
14
specs/SpaceEngineersDedicated.ReferenceAssemblies.nuspec
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||||
|
<metadata>
|
||||||
|
<id>SpaceEngineersDedicated.ReferenceAssemblies</id>
|
||||||
|
<version>1.0.1</version>
|
||||||
|
<title>Space Engineers Dedicated Reference Assemblies</title>
|
||||||
|
<authors>zznty</authors>
|
||||||
|
<owners>KSH</owners>
|
||||||
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
|
<dependencies>
|
||||||
|
<group targetFramework=".NETFramework4.8" />
|
||||||
|
</dependencies>
|
||||||
|
</metadata>
|
||||||
|
</package>
|
Reference in New Issue
Block a user