File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ jobs:
242
242
zip -9r circuitpython-stubs.zip circuitpython-stubs
243
243
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp circuitpython-stubs/dist/*.tar.gz s3://adafruit-circuit-python/bin/stubs/circuitpython-stubs-${{ env.CP_VERSION }}.zip --no-progress --region us-east-1
244
244
- name : Upload stubs to PyPi
245
- if : github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit'
245
+ if : ( github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
246
246
env :
247
247
TWINE_USERNAME : ${{ secrets.pypi_username }}
248
248
TWINE_PASSWORD : ${{ secrets.pypi_password }}
You can’t perform that action at this time.
0 commit comments