This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
Merge pull request #41 from arditmezini/dependabot/npm_and_yarn/books… #189
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: .NET Core API | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET Core | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: 5.0.100 | |
- name: Install dependencies | |
run: dotnet restore AspNetCoreApi.Api | |
- name: Build | |
run: dotnet build AspNetCoreApi.Api --configuration Release --no-restore |