Skip to content

Commit

Permalink
Bypassing dotnet restore issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia-Kosenkov authored Dec 24, 2020
1 parent 174815e commit 2c9cf51
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/dotnet-core.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
dotnet-version: [ '5.0.100' ]
os: ['Windows-latest', 'ubuntu-latest', 'macOS-latest']

defaults:
run:
shell: pwsh

runs-on: ${{ matrix.os }}

name: ${{ matrix.os }} with .NET ${{ matrix.dotnet-version }}
Expand All @@ -44,7 +48,9 @@ jobs:
run: dotnet restore

- name: Build
run: dotnet build -c Release --no-restore
run: |
dotnet clean -c Release && dotnet nuget locals all --clear
dotnet build -c Release --no-restore
- name: Test .NET Standard 2.1 using .NET 5.0
run: dotnet test --no-restore --verbosity normal -f net5.0
Expand Down

0 comments on commit 2c9cf51

Please sign in to comment.