parent
5971794e54
commit
6aad70b109
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -1,6 +1,12 @@
|
|||||||
name: Build CI
|
name: Build CI
|
||||||
|
|
||||||
on: [push, pull_request, release]
|
on:
|
||||||
|
push:
|
||||||
|
pull_request:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
check_suite:
|
||||||
|
types: [rerequested]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@ -10,9 +16,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||||
run: echo "$GITHUB_CONTEXT"
|
run: echo "$GITHUB_CONTEXT"
|
||||||
- name: Fail if not a release publish # workaround has `on` doesn't have this filter
|
|
||||||
run: exit 1
|
|
||||||
if: github.event_name == 'release' && (github.event.action != 'published' && github.event.action != 'rerequested')
|
|
||||||
- name: Set up Python 3.5
|
- name: Set up Python 3.5
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
|
7
.github/workflows/create_website_pr.yml
vendored
7
.github/workflows/create_website_pr.yml
vendored
@ -1,6 +1,8 @@
|
|||||||
name: Update CircuitPython.org
|
name: Update CircuitPython.org
|
||||||
|
|
||||||
on: release
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
website:
|
website:
|
||||||
@ -10,9 +12,6 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||||
run: echo "$GITHUB_CONTEXT"
|
run: echo "$GITHUB_CONTEXT"
|
||||||
- name: Fail if not a release publish # workaround has `on` doesn't have this filter
|
|
||||||
run: exit 1
|
|
||||||
if: github.event.action != 'published'
|
|
||||||
- name: Set up Python 3.5
|
- name: Set up Python 3.5
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
|
Loading…
Reference in New Issue
Block a user