Merge branch 'main' of https://github.com/dme-compunet/YoloV8 #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET Build | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 7.0.x | |
- name: Restore dependencies for YoloV8 | |
run: dotnet restore Source/YoloV8/YoloV8.csproj | |
- name: Restore dependencies for YoloV8.Demo | |
run: dotnet restore Source/YoloV8.Demo/YoloV8.Demo.csproj | |
- name: Build YoloV8 | |
run: dotnet build --no-restore Source/YoloV8/YoloV8.csproj | |
- name: Build YoloV8.Demo | |
run: dotnet build --no-restore Source/YoloV8.Demo/YoloV8.Demo.csproj | |