Skip to content

test pypi upload

test pypi upload #3

Workflow file for this run

name: PyPI publish
on:
push:
branches: '*'
release:
types: [created]
workflow_dispatch:
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: pip
- name: Build package
run: pip install build && mv dool dool.py && python -m build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
env:
name: test-pypi
url: https://test.pypi.org/p/dool