File tree Expand file tree Collapse file tree 4 files changed +29
-0
lines changed
Expand file tree Collapse file tree 4 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 3030
3131 - name : Test
3232 run : dotnet test BitNet-b1.58-Sharp.slnx --configuration Release --no-build --no-restore
33+
34+ - name : Pack BitNetSharp.Core
35+ run : dotnet pack "${{ github.workspace }}/src/BitNetSharp.Core/BitNetSharp.Core.csproj" --configuration Release --no-build --no-restore -p:VersionSuffix=ci.${{ github.run_number }} --output "${{ github.workspace }}/artifacts/packages/core"
36+
37+ - name : Pack BitNetSharp.App dotnet tool
38+ run : dotnet pack "${{ github.workspace }}/src/BitNetSharp.App/BitNetSharp.App.csproj" --configuration Release --no-build --no-restore -p:VersionSuffix=ci.${{ github.run_number }} --output "${{ github.workspace }}/artifacts/packages/tool"
39+
40+ - name : Upload BitNetSharp.Core package
41+ uses : actions/upload-artifact@v4
42+ with :
43+ name : BitNetSharp.Core-nuget
44+ path : ${{ github.workspace }}/artifacts/packages/core/*.nupkg
45+ if-no-files-found : error
46+
47+ - name : Upload BitNetSharp.App tool package
48+ uses : actions/upload-artifact@v4
49+ with :
50+ name : BitNetSharp.App-dotnet-tool
51+ path : ${{ github.workspace }}/artifacts/packages/tool/*.nupkg
52+ if-no-files-found : error
Original file line number Diff line number Diff line change 1+ <Project >
2+ <PropertyGroup >
3+ <VersionPrefix >0.1.0</VersionPrefix >
4+ </PropertyGroup >
5+ </Project >
Original file line number Diff line number Diff line change 1414 <TargetFramework >net10.0</TargetFramework >
1515 <ImplicitUsings >enable</ImplicitUsings >
1616 <Nullable >enable</Nullable >
17+ <PackAsTool >true</PackAsTool >
18+ <ToolCommandName >bitnetsharp</ToolCommandName >
1719 </PropertyGroup >
1820
1921</Project >
Original file line number Diff line number Diff line change 44 <TargetFramework >net10.0</TargetFramework >
55 <ImplicitUsings >enable</ImplicitUsings >
66 <Nullable >enable</Nullable >
7+ <PackageId >BitNetSharp.Core</PackageId >
8+ <Description >Paper-aligned BitNet b1.58 transformer runtime for .NET.</Description >
79 </PropertyGroup >
810
911</Project >
You can’t perform that action at this time.
0 commit comments