Skip to content

Update ci.yml

Update ci.yml #4

Workflow file for this run

name: Dotnetapplication-CI
on:
workflow_dispatch:
push:
branches:
- master
jobs:
DotnetInstall:

Check failure on line 10 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.x
cache: true
- run: dotnet restore --locked-mode
# - name: Checkout code
# uses: actions/checkout@v4
# - name: Dotnet install
# - uses: actions/setup-dotnet@v4
# with:
# dotnet-version: '6.0.x'
# Install_dependencies:
# runs-on: ubuntu-latest
# needs: DotnetInstall
# steps:
# - name: Checkout code
# uses: actions/checkout@v4
- name: Installing dependency
run: dotnet restore