Skip to content

Commit

Permalink
Fix release CI files
Browse files Browse the repository at this point in the history
  • Loading branch information
tekktrik committed Nov 4, 2022
1 parent 1c19aa1 commit 69db6ad
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release_gh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 changes: 10 additions & 5 deletions .github/workflows/release_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 69db6ad

Please sign in to comment.