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@v8.1.0 with: version: "0.11.14" - name: Set venv run: uv venv 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