File tree 2 files changed +19
-10
lines changed
2 files changed +19
-10
lines changed Original file line number Diff line number Diff line change 2
2
#
3
3
# SPDX-License-Identifier: MIT
4
4
5
- name : Build CI
5
+ name : GitHub Release Actions
6
6
7
- on : [pull_request, push]
7
+ on :
8
+ release :
9
+ types : [published]
8
10
9
11
jobs :
10
- test :
12
+ upload-release-assets :
11
13
runs-on : ubuntu-latest
12
14
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 }}
Original file line number Diff line number Diff line change 2
2
#
3
3
# SPDX-License-Identifier: MIT
4
4
5
- name : Build CI
5
+ name : PyPI Release Actions
6
6
7
- on : [pull_request, push]
7
+ on :
8
+ release :
9
+ types : [published]
8
10
9
11
jobs :
10
- test :
12
+ upload-release-assets :
11
13
runs-on : ubuntu-latest
12
14
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 }}
You can’t perform that action at this time.
0 commit comments