From 422c1828a0e2d8c3fcc0865eda75937263c15a3d Mon Sep 17 00:00:00 2001 From: Aaron Stannard Date: Wed, 3 Nov 2021 17:39:49 -0500 Subject: [PATCH] Moved to using native `dotnet` commands for CI (#12) * Moved to using native `dotnet` commands for CI Until someone gets a chance to troubleshoot FAKE for use with Github Actions * target .NET Core 2.2.300 same as `global.json` * disabling `dotnet test` for now --- .github/workflows/build-and-test.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-and-test.yml b/.github/workflows/build-and-test.yml index bcf7e774..a7f990b5 100644 --- a/.github/workflows/build-and-test.yml +++ b/.github/workflows/build-and-test.yml @@ -9,7 +9,7 @@ on: - '**.csproj' env: - DOTNET_VERSION: '5.0' # The .NET SDK version to use + DOTNET_VERSION: '2.2.300' # The .NET SDK version to use jobs: build-and-test: @@ -18,7 +18,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [windows-latest] + os: [windows-latest, ubuntu-latest] steps: - uses: actions/checkout@v2 @@ -27,5 +27,11 @@ jobs: with: dotnet-version: ${{ env.DOTNET_VERSION }} - - name: FAKE - run: build/fake.cmd default \ No newline at end of file + - name: Install dependencies + run: dotnet restore + + - name: Build + run: dotnet build --configuration Release --no-restore + + #- name: Test + # run: dotnet test --no-restore --verbosity normal