Skip to content

Commit ad520d1

Browse files
committed
Updated workflow file - Now we have bleading edging prerelease and automatical release creation on version tag
1 parent 7ccd216 commit ad520d1

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
name: Continuous Integration
22

3-
on:
4-
push:
5-
branches: [ $default-branch ]
6-
pull_request:
7-
paths:
8-
- '**.py'
9-
- '**.yaml'
3+
on: push:
104

115
jobs:
126
test:
@@ -39,6 +33,7 @@ jobs:
3933

4034
builder:
4135
needs: [test]
36+
if: github.ref == 'refs/heads/master'
4237
strategy:
4338
matrix:
4439
os: [macos-10.15, windows-2019]
@@ -75,6 +70,7 @@ jobs:
7570
publisher_release:
7671
needs: [builder]
7772
if: startsWith(github.event.ref, 'refs/tags/v')
73+
if: github.ref == 'refs/heads/master'
7874
runs-on: ubuntu-latest
7975
steps:
8076
- name: Check out repository
@@ -93,6 +89,7 @@ jobs:
9389

9490
publisher_latest:
9591
needs: [builder]
92+
if: github.ref == 'refs/heads/master'
9693
runs-on: ubuntu-latest
9794
steps:
9895
- name: Check out repository

0 commit comments

Comments
 (0)