Skip to content

Commit

Permalink
Moved to using native dotnet commands for CI (#12)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Aaronontheweb authored Nov 3, 2021
1 parent cb2743a commit 422c182
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -18,7 +18,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest]
os: [windows-latest, ubuntu-latest]

steps:
- uses: actions/checkout@v2
Expand All @@ -27,5 +27,11 @@ jobs:
with:
dotnet-version: ${{ env.DOTNET_VERSION }}

- name: FAKE
run: build/fake.cmd default
- name: Install dependencies
run: dotnet restore

- name: Build
run: dotnet build --configuration Release --no-restore

#- name: Test
# run: dotnet test --no-restore --verbosity normal

0 comments on commit 422c182

Please sign in to comment.