Skip to content

Commit

Permalink
fix: test publish
Browse files Browse the repository at this point in the history
  • Loading branch information
dlangst committed Aug 2, 2022
1 parent ec85bca commit f0f1ac3
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .github/workflows/build-test-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,17 @@ jobs:
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release #--dry-run

- name: Build project
run: |
npx semantic-release --dry-run
echo "Ran semantic-release dry-run"
pip install -U pip
pip install build
python -m build
- name: Publish to pypi
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.PYPI_USER }}
password: ${{ secrets.PYPI_TOKEN }}
repository_url: https://upload.pypi.org/legacy/

0 comments on commit f0f1ac3

Please sign in to comment.