File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
name : " Unit tests and builds"
3
- on :
4
- push :
5
- branches : ['**']
6
- release :
7
- types : [released]
3
+ on : push
8
4
env :
9
5
BASE_IMAGE_NAME : " ${{ secrets.DOCKER_ORG }}/nansat_base:2.0.3-slim"
10
6
TESTING_IMAGE_NAME : metanorm_tests
82
78
run : pip install coveralls && coveralls --service=github
83
79
84
80
- name : ' Build Python package'
85
- if : github.event_name == 'release'
81
+ if : startsWith( github.event.ref, 'refs/tags/')
86
82
env :
87
83
TAG_REF : ${{ github.ref }}
88
84
run : >
93
89
python setup.py sdist bdist_wheel
94
90
95
91
- name : ' Deploy package to the Github release'
96
- if : github.event_name == 'release'
92
+ if : startsWith( github.event.ref, 'refs/tags/')
97
93
env :
98
94
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
99
95
GITHUB_REPOSITORY : ${{ github.repository }}
You can’t perform that action at this time.
0 commit comments