name: Continupus Integration and Continupus  Delpoy

on:
  push:
    branches:
      - main

jobs:
  build: 
  
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Setup .Net 5
        uses: actions/setup-dotnet@v1
        with:
          dotnet-version: '5.0.x'

      - name: Restore dependencies
        run: dotnet restore ./src/Web/RecipeBook.Web/RecipeBook.Web.csproj

      - name: Build app
        run: dotnet build -c Release --no-restore
name: Continupus Integration and Continupus  Delpoy

on:
  push:
    branches:
      - main

jobs:
  build: 
  
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v2

      - name: Setup .Net 5
        uses: actions/setup-dotnet@v1
        with:
          dotnet-version: '5.0.x'

      - name: Restore dependencies
        run: dotnet restore ./src/Web/RecipeBook.Web/RecipeBook.Web.csproj

      - name: Build app
        run: dotnet build ./src/Web/RecipeBook.Web/RecipeBook.Web.csproj -c Release --no-restore
Build project path is added
Build project path is added
