From 70a6e97beff9a4de815b8877c1c3ccc0e009bc9a Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Fri, 5 Jun 2020 13:18:23 +0300 Subject: [PATCH] Add github action build workflow --- .github/workflows/build.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 00000000..10f32417 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,25 @@ +name: .NET Core CI + +on: [push, pull_request] + +jobs: + build: + name: .NET on ${{ matrix.os }} + + strategy: + matrix: + os: [ubuntu-latest, windows-latest] + + runs-on: ${{ matrix.os }} + + steps: + - uses: actions/checkout@v1 + + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + + - name: Restore + run: dotnet restore + + - name: Build + run: dotnet build -c Release