Skip to content

Commit 1d88a1b

Browse files
author
TheSnoozer
committed
simplify conditions for coveralls and deploy snapshot since they are still skipped :-(
1 parent 9a23ea8 commit 1d88a1b

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
@@ -101,7 +101,7 @@ jobs:
101101
name: Run coveralls
102102
runs-on: ubuntu-latest
103103
needs: integration-test
104-
if: ${{ github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master') }}
104+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
105105

106106
steps:
107107
- uses: actions/checkout@v1
@@ -123,7 +123,7 @@ jobs:
123123
name: Deploy snapshot
124124
runs-on: ubuntu-latest
125125
needs: integration-test
126-
if: ${{ github.event_name != 'pull_request' && (startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master') }}
126+
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
127127

128128
steps:
129129
- uses: actions/checkout@v1

0 commit comments

Comments
 (0)