Skip to content

Commit

Permalink
Create build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
myquay authored Apr 17, 2024
1 parent 99d486b commit 45fb8f5
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build MultiTenant.AspNetCore library

on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build MultiTenant.AspNetCore library
runs-on: ubuntu-latest
steps:

- name: 📄 Checkout
uses: actions/checkout@v3

- name: 🛠️ Setup .NET SDK
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x'

- name: 🛠️ Restore NuGet packages
run: dotnet restore

- name: 🚀 Build Solution
run: dotnet build --configuration Release

- name: 👟 Run tests
run: dotnet test

0 comments on commit 45fb8f5

Please sign in to comment.