diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a5713cc..5049a56 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -71,5 +71,6 @@ jobs: - run: dotnet pack -c Release ./Torch.API/Torch.API.csproj -o pack --include-symbols -p:SymbolPackageFormat=snupkg -p:Version=${{ env.TORCH_VERSION }} --no-build - run: dotnet pack -c Release ./Torch/Torch.csproj -o pack --include-symbols -p:SymbolPackageFormat=snupkg -p:Version=${{ env.TORCH_VERSION }} --no-build - run: dotnet pack -c Release ./Torch.Server/Torch.Server.csproj -o pack --include-symbols -p:SymbolPackageFormat=snupkg -p:Version=${{ env.TORCH_VERSION }} --no-build - + - run: mkdir blank && sed -i 's/torchVersion/${{ env.TORCH_VERSION }}/g' Torch.Server.ReferenceAssemblies.net7.nuspec && nuget pack Torch.Server.ReferenceAssemblies.net7.nuspec -BasePath ./blank -Version ${{ env.TORCH_VERSION }} -OutputDirectory pack -NonInteractive -NoPackageAnalysis + - run: dotnet nuget push ./pack/*.nupkg -s github diff --git a/Torch.Server.ReferenceAssemblies.net7.nuspec b/Torch.Server.ReferenceAssemblies.net7.nuspec new file mode 100644 index 0000000..0f31889 --- /dev/null +++ b/Torch.Server.ReferenceAssemblies.net7.nuspec @@ -0,0 +1,24 @@ + + + + Torch.Server.ReferenceAssemblies.net7 + 1.0.1 + Torch Server Reference Assemblies + zznty + zznty + false + Torch Server Reference Assemblies (.NET 7 edition) + + + + + + + + + + + + + + \ No newline at end of file