File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Build CI
22
3- on : [push, pull_request, release]
3+ on :
4+ push :
5+ pull_request :
6+ release :
7+ types : [published]
8+ check_suite :
9+ types : [rerequested]
410
511jobs :
612 test :
1016 env :
1117 GITHUB_CONTEXT : ${{ toJson(github) }}
1218 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')
1619 - name : Set up Python 3.5
1720 uses : actions/setup-python@v1
1821 with :
Original file line number Diff line number Diff line change 11name : Update CircuitPython.org
22
3- on : release
3+ on :
4+ release :
5+ types : [published]
46
57jobs :
68 website :
1012 env :
1113 GITHUB_CONTEXT : ${{ toJson(github) }}
1214 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'
1615 - name : Set up Python 3.5
1716 uses : actions/setup-python@v1
1817 with :
You can’t perform that action at this time.
0 commit comments