name: pub-publish description: "publishes latest version tag to a pypi repository" author: "Bryce Thorup" inputs: pypi_repo_user: description: Username used for authenticating with pypi repo required: true pypi_repo_pass: description: Password used for authenticating with pypi repo required: true pub_repo_domain: description: Domain for pypi repo required: true runs: using: "composite" steps: - name: Install uv uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b with: version: "0.11.14" - name: Set up Python run: uv python install shell: bash - name: Install build and twine run: uv pip install build twine shell: bash - name: Install PyPI config run: $GITHUB_ACTION_PATH/action.sh shell: bash - name: Build project run: python -m build shell: bash - name: Publish package run: python3 -m twine upload --repository repo ./dist/* shell: bash