Skip to content

Split restore and build steps #301

Split restore and build steps

Split restore and build steps #301

Workflow file for this run

name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET SDK
uses: actions/setup-dotnet@v3
- name: Restore dependencies
run: dotnet restore TodoApi.sln
- name: dotnet build
run: dotnet build TodoApi.sln -c Release --no-restore
- name: dotnet test
run: dotnet test TodoApi.sln -c Release --no-build