File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
1
name : Build CI
2
2
3
- on : [push, pull_request, release]
3
+ on :
4
+ push :
5
+ pull_request :
6
+ release :
7
+ types : [published]
8
+ check_suite :
9
+ types : [rerequested]
4
10
5
11
jobs :
6
12
test :
10
16
env :
11
17
GITHUB_CONTEXT : ${{ toJson(github) }}
12
18
run : echo "$GITHUB_CONTEXT"
13
- - name : Fail if not a release publish # workaround has `on` doesn't have this filter
14
- run : exit 1
15
- if : github.event_name == 'release' && (github.event.action != 'published' && github.event.action != 'rerequested')
16
19
- name : Set up Python 3.5
17
20
uses : actions/setup-python@v1
18
21
with :
Original file line number Diff line number Diff line change 1
1
name : Update CircuitPython.org
2
2
3
- on : release
3
+ on :
4
+ release :
5
+ types : [published]
4
6
5
7
jobs :
6
8
website :
10
12
env :
11
13
GITHUB_CONTEXT : ${{ toJson(github) }}
12
14
run : echo "$GITHUB_CONTEXT"
13
- - name : Fail if not a release publish # workaround has `on` doesn't have this filter
14
- run : exit 1
15
- if : github.event.action != 'published'
16
15
- name : Set up Python 3.5
17
16
uses : actions/setup-python@v1
18
17
with :
You can’t perform that action at this time.
0 commit comments