Skip to content

Update build.yml

Update build.yml #3

Workflow file for this run

name: .NET Core
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Check failure on line 24 in .github/workflows/dotnet-core.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/dotnet-core.yml

Invalid workflow file

You have an error in your yaml syntax on line 24