Skip to content

Commit

Permalink
Create dotnet-core.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayshinva authored Nov 15, 2020
1 parent 3caab6a commit 0c1b7a2
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: .NET Core

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.301
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Test
run: dotnet test --no-restore --verbosity normal
- name: Pack
run: dotnet pack --configuration Release

0 comments on commit 0c1b7a2

Please sign in to comment.