Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Touhma authored Feb 2, 2021
1 parent 9560ef1 commit dfd737f
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
name: CI
name: .NET

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

jobs:
build:
runs-on: [windows-latest]

runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v1
- name: Build DotNET
run: |
cd "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\"
.\MSBuild.exe $Env:GITHUB_WORKSPACE\ **SLN or project**
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 5.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal

0 comments on commit dfd737f

Please sign in to comment.