From aafb82b3164b232170bf2d691bce3f938eef8f98 Mon Sep 17 00:00:00 2001 From: "SmallChi(Koike)" <564952747@qq.com> Date: Fri, 3 Apr 2020 09:33:44 +0800 Subject: [PATCH] Create dotnetcore.yml --- .github/workflows/dotnetcore.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/dotnetcore.yml diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml new file mode 100644 index 0000000..abbca6e --- /dev/null +++ b/.github/workflows/dotnetcore.yml @@ -0,0 +1,23 @@ +name: .NET Core + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@master + - name: Setup .NET Core + uses: actions/setup-dotnet@master + with: + dotnet-version: 3.1.101 + - name: dotnet info + run: dotnet --info + - name: dotnet restore + run: dotnet restore ./src/JT809.Protocol.sln + - name: dotnet build + run: dotnet build ./src/JT809.Protocol.Test/JT809.Protocol.Test.csproj + - name: dotnet test + run: dotnet test ./src/JT809.Protocol.Test/JT809.Protocol.Test.csproj