Skip to content

Initialized name field #2

Initialized name field

Initialized name field #2

Workflow file for this run

name: publish 🚀
on: workflow_dispatch:

Check failure on line 3 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
push:
branches:
-main
jobs:
publish:
run-on:ubuntu-latest
steps:
-name:Setup .NET
uses:actions/checkout@v3
with:
dotnet-version:"6.0.x"
-name: Restore
run: dotnet restore ./Basic_crud.sln
-name: Build
run: dotnet build ./Basic_crud.sln --configuration Release --no-restore
-name: Publish
run: dotnet publish ./basic_crud.sln --configuration Release --no-build