Skip to content

Commit

Permalink
🔖 update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
AlongWY committed Aug 15, 2022
1 parent e52beff commit 6e0f32d
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,25 @@ jobs:
- uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Publish to PyPi

- name: Publish LTP Core to PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD_CORE }}
run: |
pip install --upgrade twine
twine upload --skip-existing *
twine upload --skip-existing dist/ltp_core-*
- name: Publish LTP Extension to PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD_EXT }}
run: |
twine upload --skip-existing dist/ltp_extension-*
- name: Publish LTP to PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload --skip-existing dist/ltp-*

0 comments on commit 6e0f32d

Please sign in to comment.