Claim all existing packages on pypi #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |