Skip to content

Commit

Permalink
Actions build (#340)
Browse files Browse the repository at this point in the history
* Build with GitHub Actions

* Changing dotnet-version

* Updating version again

* Updating path to sln and adding test step

* Updates to file path

* Path is probably starting out at the root

* Updating path once again

* Updating name

* Adding build badge to readme

* Making the build work in markdown
  • Loading branch information
efleming18 authored and ardalis committed Jan 8, 2020
1 parent 0a93e61 commit 288d827
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/dotnetcore.yml
@@ -0,0 +1,19 @@
name: eShopOnWeb Build and Test

on: [push]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.100
- name: Build with dotnet
run: dotnet build ./eShopOnWeb.sln --configuration Release
- name: Test with dotnet
run: dotnet test ./eShopOnWeb.sln --configuration Release
2 changes: 2 additions & 0 deletions README.md
@@ -1,3 +1,5 @@
![Build Status](https://github.com/dotnet-architecture/eShopOnWeb/workflows/eShopOnWeb%20Build%20and%20Test/badge.svg)

# Microsoft eShopOnWeb ASP.NET Core Reference Application

Sample ASP.NET Core reference application, powered by Microsoft, demonstrating a single-process (monolithic) application architecture and deployment model. If you're new to .NET development, read the [Getting Started for Beginners](https://github.com/dotnet-architecture/eShopOnWeb/wiki/Getting-Started-for-Beginners) guide.
Expand Down

0 comments on commit 288d827

Please sign in to comment.