Skip to content

Commit

Permalink
Create push-master.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zyzhu committed Feb 25, 2021
1 parent 965a320 commit 63eaff1
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/push-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build and Test PR

on:
push:
branches:
- master

jobs:
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.302
- name: Restore .NET local tools
run: dotnet tool restore
- name: Restore packages
run: dotnet paket restore
- name: Build and test
run: dotnet fake build

build-ubuntu:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.302
- name: Restore .NET local tools
run: dotnet tool restore
- name: Restore packages
run: dotnet paket restore
- name: Build and test
run: dotnet fake build

0 comments on commit 63eaff1

Please sign in to comment.