Skip to content

Commit

Permalink
Package
Browse files Browse the repository at this point in the history
  • Loading branch information
praeclarum committed Feb 1, 2025
1 parent 7298586 commit ddf6270
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ "master" ]

env:
VERSION: 0.9.${{github.run_number}}

jobs:
build:

Expand All @@ -20,6 +23,12 @@ jobs:
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
run: dotnet build -c Release --no-restore /p:Version=$VERSION
- name: Test
run: dotnet test --no-build --verbosity normal
run: dotnet test -c Release --no-build --verbosity normal /p:Version=$VERSION
- name: Package
run: dotnet pack -c Release --no-build /p:Version=$VERSION -o ./PackagesOut
- name: Upload package
uses: actions/upload-artifact@v3
with:
name: PackagesOut
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/PackagesOut

#Rejected tests
Csg.Test/Results/*_.stl
/.vs
Expand Down
2 changes: 1 addition & 1 deletion Csg/Csg.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFramework>net9.0</TargetFramework>

<PackageId>SolidGeometry</PackageId>
<Version>2.0.0</Version>
<Version>1.0.0</Version>
<Authors>praeclarum</Authors>
<Description>Solid modelling of meshes supporting basic shapes (boxes, cylinders, spheres, ...), booleans operations (union, subtract, intersect) and output to STL.</Description>
<PackageTags>Mesh;3D;Geometry;CSG;Model;Octree;Graphics</PackageTags>
Expand Down

0 comments on commit ddf6270

Please sign in to comment.