Skip to content

Commit f0f1ac3

Browse files
committed
fix: test publish
1 parent ec85bca commit f0f1ac3

1 file changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/build-test-deploy.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,17 @@ jobs:
7777
env:
7878
GH_TOKEN: ${{ secrets.GH_TOKEN }}
7979
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
80+
run: npx semantic-release #--dry-run
81+
82+
- name: Build project
8083
run: |
81-
npx semantic-release --dry-run
82-
echo "Ran semantic-release dry-run"
84+
pip install -U pip
85+
pip install build
86+
python -m build
87+
88+
- name: Publish to pypi
89+
uses: pypa/gh-action-pypi-publish@release/v1
90+
with:
91+
user: ${{ secrets.PYPI_USER }}
92+
password: ${{ secrets.PYPI_TOKEN }}
93+
repository_url: https://upload.pypi.org/legacy/

0 commit comments

Comments
 (0)