Skip to content

Commit 66db54e

Browse files
fixing if on github action
1 parent 62db461 commit 66db54e

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci-build.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ jobs:
3333
- name: Test
3434
run: dotnet test -c Release --no-build /p:CollectCoverage=true /p:CoverletOutputFormat=opencover /p:CoverletOutput=../coverage/
3535
- uses: codecov/codecov-action@v2
36+
if: ${{ github.event_name == 'push' }}
3637
with:
3738
token: ${{ secrets.CODECOV_TOKEN }}
3839
directory: src/coverage
3940
flags: unittests
40-
if: ${{ github.event_name == 'push' }}
41+
4142

0 commit comments

Comments
 (0)