Skip to content

Commit e3e4e34

Browse files
committed
Fix release CI files
1 parent 43b3771 commit e3e4e34

File tree

2 files changed

+19
-10
lines changed

2 files changed

+19
-10
lines changed

.github/workflows/release_gh.yml

+9-5
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,17 @@
22
#
33
# SPDX-License-Identifier: MIT
44

5-
name: Build CI
5+
name: GitHub Release Actions
66

7-
on: [pull_request, push]
7+
on:
8+
release:
9+
types: [published]
810

911
jobs:
10-
test:
12+
upload-release-assets:
1113
runs-on: ubuntu-latest
1214
steps:
13-
- name: Run Build CI workflow
14-
uses: adafruit/workflows-circuitpython-libs/build@main
15+
- name: Run GitHub Release CI workflow
16+
uses: adafruit/workflows-circuitpython-libs/release-gh@main
17+
with:
18+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/release_pypi.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,18 @@
22
#
33
# SPDX-License-Identifier: MIT
44

5-
name: Build CI
5+
name: PyPI Release Actions
66

7-
on: [pull_request, push]
7+
on:
8+
release:
9+
types: [published]
810

911
jobs:
10-
test:
12+
upload-release-assets:
1113
runs-on: ubuntu-latest
1214
steps:
13-
- name: Run Build CI workflow
14-
uses: adafruit/workflows-circuitpython-libs/build@main
15+
- name: Run PyPI Release CI workflow
16+
uses: adafruit/workflows-circuitpython-libs/release-pypi@main
17+
with:
18+
pypi-username: ${{ secrets.pypi_username }}
19+
pypi-password: ${{ secrets.pypi_password }}

0 commit comments

Comments
 (0)