Skip to content

Commit 773d498

Browse files
committed
ci: restrict Codecov upload to Ubuntu environment only
1 parent dab8025 commit 773d498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/default.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
run: make test
3232

3333
- name: Upload coverage reports to Codecov
34-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
34+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' && matrix.os == 'ubuntu-latest' }}
3535
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574 # v5.4.0
3636
with:
3737
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)