Skip to content

Merge pull request #6 from hootanht/update-build-status #2

Merge pull request #6 from hootanht/update-build-status

Merge pull request #6 from hootanht/update-build-status #2

Workflow file for this run

name: CD
on:
push:
branches:
- master
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '8.0.x'
- name: Restore dependencies
run: dotnet restore
- name: Build solution
run: dotnet build --configuration Release --no-restore
- name: Run tests
run: dotnet test --no-restore --verbosity normal
- name: Publish NuGet package
run: dotnet pack --configuration Release --no-restore