feat: add NuGet and Godot distribution
Publish NuGet packages / publish (push) Failing after 6s
Publish UPM package / publish (push) Successful in 6s

This commit is contained in:
2026-09-05 03:41:44 +08:00
parent 5fd9b258d7
commit 371e880b84
88 changed files with 4122 additions and 2 deletions
@@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.0", FrameworkDisplayName = ".NET Standard 2.0")]
@@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("ShrinkSDK")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+5fd9b258d78a4eccff03b1da12ffd9f9a62526a4")]
[assembly: System.Reflection.AssemblyProductAttribute("ShrinkSDK.CodeGen.Analyzers")]
[assembly: System.Reflection.AssemblyTitleAttribute("ShrinkSDK.CodeGen.Analyzers")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://git.crash.work/ShrinkSDK")]
// Generated by the MSBuild WriteCodeFragment class.
@@ -0,0 +1 @@
8c6d371fb2669eb81546bbe4990e35d6e23df1869fb22f4d099f3616dd4e7bdc
@@ -0,0 +1,16 @@
is_global = true
build_property.TargetFramework = netstandard2.0
build_property.TargetPlatformMinVersion = 7.0
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules = true
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = ShrinkSDK.CodeGen.Analyzers
build_property.ProjectDir = D:\UnityBuilds\ShrinkSDK\Assets\Modules\ShrinkShared.CodeGen\DotNet~\ShrinkSDK.CodeGen.Analyzers\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.CsWinRTUseWindowsUIXamlProjections = false
build_property.EffectiveAnalysisLevelStyle =
build_property.EnableCodeStyleSeverity =
@@ -0,0 +1 @@
dd656b0d56b480b28268325a874f26433a3d0356ca7f9d4e49fe23db743d3867
@@ -0,0 +1,10 @@
D:\UnityBuilds\ShrinkSDK\Assets\Modules\ShrinkShared.CodeGen\DotNet~\ShrinkSDK.CodeGen.Analyzers\bin\Release\netstandard2.0\ShrinkSDK.CodeGen.Analyzers.deps.json
D:\UnityBuilds\ShrinkSDK\Assets\Modules\ShrinkShared.CodeGen\DotNet~\ShrinkSDK.CodeGen.Analyzers\bin\Release\netstandard2.0\ShrinkSDK.CodeGen.Analyzers.dll
D:\UnityBuilds\ShrinkSDK\Assets\Modules\ShrinkShared.CodeGen\DotNet~\ShrinkSDK.CodeGen.Analyzers\bin\Release\netstandard2.0\ShrinkSDK.CodeGen.Analyzers.pdb
D:\UnityBuilds\ShrinkSDK\Assets\Modules\ShrinkShared.CodeGen\DotNet~\ShrinkSDK.CodeGen.Analyzers\obj\Release\netstandard2.0\ShrinkSDK.CodeGen.Analyzers.csproj.AssemblyReference.cache
D:\UnityBuilds\ShrinkSDK\Assets\Modules\ShrinkShared.CodeGen\DotNet~\ShrinkSDK.CodeGen.Analyzers\obj\Release\netstandard2.0\ShrinkSDK.CodeGen.Analyzers.GeneratedMSBuildEditorConfig.editorconfig
D:\UnityBuilds\ShrinkSDK\Assets\Modules\ShrinkShared.CodeGen\DotNet~\ShrinkSDK.CodeGen.Analyzers\obj\Release\netstandard2.0\ShrinkSDK.CodeGen.Analyzers.AssemblyInfoInputs.cache
D:\UnityBuilds\ShrinkSDK\Assets\Modules\ShrinkShared.CodeGen\DotNet~\ShrinkSDK.CodeGen.Analyzers\obj\Release\netstandard2.0\ShrinkSDK.CodeGen.Analyzers.AssemblyInfo.cs
D:\UnityBuilds\ShrinkSDK\Assets\Modules\ShrinkShared.CodeGen\DotNet~\ShrinkSDK.CodeGen.Analyzers\obj\Release\netstandard2.0\ShrinkSDK.CodeGen.Analyzers.csproj.CoreCompileInputs.cache
D:\UnityBuilds\ShrinkSDK\Assets\Modules\ShrinkShared.CodeGen\DotNet~\ShrinkSDK.CodeGen.Analyzers\obj\Release\netstandard2.0\ShrinkSDK.CodeGen.Analyzers.dll
D:\UnityBuilds\ShrinkSDK\Assets\Modules\ShrinkShared.CodeGen\DotNet~\ShrinkSDK.CodeGen.Analyzers\obj\Release\netstandard2.0\ShrinkSDK.CodeGen.Analyzers.pdb
@@ -0,0 +1,79 @@
{
"format": 1,
"restore": {
"D:\\UnityBuilds\\ShrinkSDK\\Assets\\Modules\\ShrinkShared.CodeGen\\DotNet~\\ShrinkSDK.CodeGen.Analyzers\\ShrinkSDK.CodeGen.Analyzers.csproj": {}
},
"projects": {
"D:\\UnityBuilds\\ShrinkSDK\\Assets\\Modules\\ShrinkShared.CodeGen\\DotNet~\\ShrinkSDK.CodeGen.Analyzers\\ShrinkSDK.CodeGen.Analyzers.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\UnityBuilds\\ShrinkSDK\\Assets\\Modules\\ShrinkShared.CodeGen\\DotNet~\\ShrinkSDK.CodeGen.Analyzers\\ShrinkSDK.CodeGen.Analyzers.csproj",
"projectName": "ShrinkSDK.CodeGen.Analyzers",
"projectPath": "D:\\UnityBuilds\\ShrinkSDK\\Assets\\Modules\\ShrinkShared.CodeGen\\DotNet~\\ShrinkSDK.CodeGen.Analyzers\\ShrinkSDK.CodeGen.Analyzers.csproj",
"packagesPath": "C:\\Users\\im\\.nuget\\packages\\",
"outputPath": "D:\\UnityBuilds\\ShrinkSDK\\Assets\\Modules\\ShrinkShared.CodeGen\\DotNet~\\ShrinkSDK.CodeGen.Analyzers\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"D:\\UnityBuilds\\ShrinkSDK\\Assets\\Modules\\ShrinkShared.CodeGen\\NuGet.Config",
"C:\\Users\\im\\AppData\\Roaming\\NuGet\\NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"https://api.nuget.org/v3/index.json": {},
"https://git.crash.work/api/packages/ShrinkSDK/nuget/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"framework": "netstandard2.0",
"targetAlias": "netstandard2.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "10.0.300"
},
"frameworks": {
"netstandard2.0": {
"framework": "netstandard2.0",
"targetAlias": "netstandard2.0",
"dependencies": {
"Microsoft.CodeAnalysis.CSharp": {
"suppressParent": "All",
"target": "Package",
"version": "[4.14.0, )"
},
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\10.0.300\\RuntimeIdentifierGraph.json"
}
}
}
}
}
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\im\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\im\.nuget\packages\" />
</ItemGroup>
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.codeanalysis.analyzers\3.11.0\buildTransitive\Microsoft.CodeAnalysis.Analyzers.props" Condition="Exists('$(NuGetPackageRoot)microsoft.codeanalysis.analyzers\3.11.0\buildTransitive\Microsoft.CodeAnalysis.Analyzers.props')" />
</ImportGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgMicrosoft_CodeAnalysis_Analyzers Condition=" '$(PkgMicrosoft_CodeAnalysis_Analyzers)' == '' ">C:\Users\im\.nuget\packages\microsoft.codeanalysis.analyzers\3.11.0</PkgMicrosoft_CodeAnalysis_Analyzers>
</PropertyGroup>
</Project>
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('$(NuGetPackageRoot)netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.codeanalysis.analyzers\3.11.0\buildTransitive\Microsoft.CodeAnalysis.Analyzers.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.codeanalysis.analyzers\3.11.0\buildTransitive\Microsoft.CodeAnalysis.Analyzers.targets')" />
</ImportGroup>
</Project>
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,22 @@
{
"version": 2,
"dgSpecHash": "b8S3yYi3RGU=",
"success": true,
"projectFilePath": "D:\\UnityBuilds\\ShrinkSDK\\Assets\\Modules\\ShrinkShared.CodeGen\\DotNet~\\ShrinkSDK.CodeGen.Analyzers\\ShrinkSDK.CodeGen.Analyzers.csproj",
"expectedPackageFiles": [
"C:\\Users\\im\\.nuget\\packages\\microsoft.codeanalysis.analyzers\\3.11.0\\microsoft.codeanalysis.analyzers.3.11.0.nupkg.sha512",
"C:\\Users\\im\\.nuget\\packages\\microsoft.codeanalysis.common\\4.14.0\\microsoft.codeanalysis.common.4.14.0.nupkg.sha512",
"C:\\Users\\im\\.nuget\\packages\\microsoft.codeanalysis.csharp\\4.14.0\\microsoft.codeanalysis.csharp.4.14.0.nupkg.sha512",
"C:\\Users\\im\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512",
"C:\\Users\\im\\.nuget\\packages\\netstandard.library\\2.0.3\\netstandard.library.2.0.3.nupkg.sha512",
"C:\\Users\\im\\.nuget\\packages\\system.buffers\\4.5.1\\system.buffers.4.5.1.nupkg.sha512",
"C:\\Users\\im\\.nuget\\packages\\system.collections.immutable\\9.0.0\\system.collections.immutable.9.0.0.nupkg.sha512",
"C:\\Users\\im\\.nuget\\packages\\system.memory\\4.5.5\\system.memory.4.5.5.nupkg.sha512",
"C:\\Users\\im\\.nuget\\packages\\system.numerics.vectors\\4.5.0\\system.numerics.vectors.4.5.0.nupkg.sha512",
"C:\\Users\\im\\.nuget\\packages\\system.reflection.metadata\\9.0.0\\system.reflection.metadata.9.0.0.nupkg.sha512",
"C:\\Users\\im\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
"C:\\Users\\im\\.nuget\\packages\\system.text.encoding.codepages\\7.0.0\\system.text.encoding.codepages.7.0.0.nupkg.sha512",
"C:\\Users\\im\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.4\\system.threading.tasks.extensions.4.5.4.nupkg.sha512"
],
"logs": []
}