Skip to content

Commit 61af1b5

Browse files
author
TheSnoozer
committed
have corveralls and deploy-snapshot run on more events
1 parent dd6a6c4 commit 61af1b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/default-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
name: Run coveralls with java ${{ matrix.java_version }}
8080
runs-on: ubuntu-latest
8181
needs: integration-test
82-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
82+
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master')
8383

8484
strategy:
8585
matrix:
@@ -99,7 +99,7 @@ jobs:
9999
name: Run coveralls with java ${{ matrix.java_version }}
100100
runs-on: ubuntu-latest
101101
needs: integration-test
102-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
102+
if: github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master')
103103

104104
strategy:
105105
matrix:

0 commit comments

Comments
 (0)