From d83a1468f6926d57400ce30ee3d6decf34e2b97b Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Sat, 29 Feb 2020 12:13:47 -0800 Subject: [PATCH] Add ci --- .github/workflows/ci.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 00000000..ccdb2d86 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,36 @@ +name: CI + +on: + push: + branches: + - master + - release/* + pull_request: + branches: + - master + - release/* + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v1 + + - name: Setup .NET Core SDK + uses: actions/setup-dotnet@v1.0.0 + with: + version: 3.1.100 + + - name: dotnet build + run: dotnet build tye.sln -c Release + + - name: dotnet test + run: dotnet test tye.sln -c Release --no-build + + - name: dotnet pack + run: | + mkdir ./artifacts + dotnet pack tye.sln -c Release --no-build -o ./artifacts +