diff --git a/.github/workflows/publish-to-nuget.yml b/.github/workflows/publish-to-nuget.yml index 29849a6..d65ff58 100644 --- a/.github/workflows/publish-to-nuget.yml +++ b/.github/workflows/publish-to-nuget.yml @@ -17,14 +17,17 @@ jobs: with: dotnet-version: 7.0.x - - name: Restore Dependencies - run: dotnet restore Source/YoloV8/YoloV8.csproj - - - name: Build + - name: Build YoloV8 run: dotnet build -c Release Source/YoloV8/YoloV8.csproj - - name: Pack + - name: Build YoloV8.Gpu + run: dotnet build -c ReleaseGPU Source/YoloV8/YoloV8.csproj + + - name: Pack YoloV8 run: dotnet pack -c Release -o . Source/YoloV8/YoloV8.csproj - - name: Publish Nuget Package + - name: Pack YoloV8.Gpu + run: dotnet pack -c ReleaseGPU -o . Source/YoloV8/YoloV8.csproj + + - name: Publish Nuget Packages run: dotnet nuget push *.nupkg --api-key ${{ secrets.NUGET_API_KEY }} --source https://api.nuget.org/v3/index.json --skip-duplicate diff --git a/Source/YoloV8/YoloV8.csproj b/Source/YoloV8/YoloV8.csproj index d76a034..10ca42e 100644 --- a/Source/YoloV8/YoloV8.csproj +++ b/Source/YoloV8/YoloV8.csproj @@ -7,16 +7,17 @@ Compunet.YoloV8 - + True - YoloV8 + YoloV8 + YoloV8.Gpu Use YOLOv8 in real-time, for object detection, instance segmentation, pose estimation and image classification, via ONNX Runtime https://github.com/dme-compunet/YOLOv8 README.md image-classification;object-detection;pose-estimation;instance-segmentation;onnx;imagesharp;onnx-runtime;ultralytics;yolov8 Icon.png Compunet - 1.3.0 + 1.4.0 @@ -27,7 +28,8 @@ - + +