Skip to content

Commit

Permalink
test pypi upload
Browse files Browse the repository at this point in the history
  • Loading branch information
raylu committed Apr 26, 2024
1 parent 6d77ee1 commit 5d4bf58
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
jobs:
pypi-publish:
name: Upload release to PyPI
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- uses: actions/checkout@v3

- uses: actions/setup-python@v4
with:
python-version: '3.x'

- name: Build package
run: 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

0 comments on commit 5d4bf58

Please sign in to comment.