Skip to content

Commit

Permalink
revert pypi.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Rqcker authored Jun 25, 2024
1 parent a018b26 commit 562d4d0
Showing 1 changed file with 7 additions and 12 deletions.
19 changes: 7 additions & 12 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,20 @@ jobs:

steps:
- name: Check out code
uses: actions/checkout@v3
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v2
with:
python-version: '3.x'

- name: Install build tools
run: |
python -m pip install --upgrade pip
pip install build twine
- name: Install pypa/build
run: python -m pip install build

- name: Build a binary wheel and a source tarball
run: python -m build --sdist --wheel --outdir dist/

- name: Publish distribution to PyPI
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
twine check dist/*
twine upload dist/*
uses: pypa/[email protected]
with:
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 562d4d0

Please sign in to comment.