Skip to content

Commit

Permalink
update the release script
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfast committed Nov 23, 2023
1 parent 21b5221 commit 3c35142
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@ jobs:
steps:
- name: fetch contents
uses: actions/checkout@v3
- uses: actions/download-artifact@v3
with:
name: dist
path: dist
- uses: actions/setup-python@v4
with:
python-version: "3.11"
- name: install twine and pytest
run: |
pip install twine pytest
pip install twine build pytest
- name: build the package
run: |
python -m build
- name: Publish package distributions to TestPyPI
run: |
twine upload --user __token__ --password ${{secrets.HATCH_PYPI_AUTH}} dist/*
Expand Down

0 comments on commit 3c35142

Please sign in to comment.