Fix release CI files
This commit is contained in:
parent
caf39ebe64
commit
c19e802c65
3 changed files with 20 additions and 11 deletions
14
.github/workflows/release_gh.yml
vendored
14
.github/workflows/release_gh.yml
vendored
|
|
@ -2,13 +2,17 @@
|
|||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
name: Build CI
|
||||
name: GitHub Release Actions
|
||||
|
||||
on: [pull_request, push]
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
upload-release-assets:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Run Build CI workflow
|
||||
uses: adafruit/workflows-circuitpython-libs/build@main
|
||||
- name: Run GitHub Release CI workflow
|
||||
uses: adafruit/workflows-circuitpython-libs/release-gh@main
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
|
|||
15
.github/workflows/release_pypi.yml
vendored
15
.github/workflows/release_pypi.yml
vendored
|
|
@ -2,13 +2,18 @@
|
|||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
name: Build CI
|
||||
name: PyPI Release Actions
|
||||
|
||||
on: [pull_request, push]
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
upload-release-assets:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Run Build CI workflow
|
||||
uses: adafruit/workflows-circuitpython-libs/build@main
|
||||
- name: Run PyPI Release CI workflow
|
||||
uses: adafruit/workflows-circuitpython-libs/release-pypi@main
|
||||
with:
|
||||
pypi-username: ${{ secrets.pypi_username }}
|
||||
pypi-password: ${{ secrets.pypi_password }}
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ class Chase(Animation):
|
|||
"""
|
||||
return self.color
|
||||
|
||||
def space_color(self, n, pixel_no=0): # pylint: disable=unused-argument,no-self-use
|
||||
def space_color(self, n, pixel_no=0): # pylint: disable=unused-argument
|
||||
"""
|
||||
Generate the spacing color for the n'th bar_color in the Chase
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue