Skip to content

Commit

Permalink
Create build action
Browse files Browse the repository at this point in the history
  • Loading branch information
dme-compunet committed Aug 18, 2023
1 parent 45cbe19 commit 9f6d752
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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
run: dotnet restore Source\YoloV8\YoloV8.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


0 comments on commit 9f6d752

Please sign in to comment.