Skip to content

Claim all existing packages on pypi #9

Claim all existing packages on pypi

Claim all existing packages on pypi #9

name: Build Placeholder PyPI Packages
on:
pull_request:
branches:
- master
defaults:
run:
shell: bash
jobs:
python-artifacts:
name: Build wheel and source distribution
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
- name: Install Build Deps
run: pip install -U build[virtualenv] hatchling
- name: Build Packages
run: |
bash .github/workflows/scripts/build_placeholders.sh
- name: Push Python artifacts to PyPI
uses: pypa/gh-action-pypi-publish@v1.8.14
with:
# We don't mind invalid metadata, we only want to claim the package name.
verify-metadata: false
verbose: true
skip-existing: true
user: __token__
password: ${{ secrets.INTEGRATIONS_PYPI_NAME_CLAIM }}