Skip to content

📬 Deliver from Cirrus #54

📬 Deliver from Cirrus

📬 Deliver from Cirrus #54

name: 📬 Deliver from Cirrus
on:
check_suite:
type: ['completed']
jobs:
upload_all_cirrus:
name: 📬 Deliver to PyPi
if: >
github.event.check_suite.app.name == 'Cirrus CI' &&
github.event.check_suite.conclusion == 'success' &&
github.event_name == 'release' &&
github.event.action == 'published'
runs-on: ubuntu-latest
steps:
- name: Downloading artifacts
run: |
wget -O macos.zip https://api.cirrus-ci.com/v1/artifact/github/GuardKenzie/chafa.py/macos_arm_wheels/wheels.zip
wget -O linux.zip https://api.cirrus-ci.com/v1/artifact/github/GuardKenzie/chafa.py/linux_arm_wheels/wheels.zip
unzip macos.zip
unzip linux.zip
- name: Uploading to test PyPi
uses: pypa/[email protected]
with:
packages-dir: wheelhouse/
user: __token__
password: ${{ secrets.pypi_password }}