Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sharpninja committed Oct 25, 2021
1 parent e253242 commit 11a802a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,12 @@ jobs:
- name: Build Release
if: ${{ github.event_name == 'release' }}
run: dotnet build -c Release --no-restore
- name: Dotnet Tests
run: dotnet test --no-build
- name: Dotnet Debug Tests
if: ${{ github.event_name != 'release' }}
run: dotnet test -c Debug --no-restore
- name: Dotnet Release Tests
if: ${{ github.event_name == 'release' }}
run: dotnet test -c Release --no-restore
- name: Publish
if: ${{ github.event_name == 'release' }}
run: |
Expand Down

0 comments on commit 11a802a

Please sign in to comment.