Skip to content

Commit

Permalink
🎨 fix release
Browse files Browse the repository at this point in the history
  • Loading branch information
AlongWY committed Aug 15, 2022
1 parent 6e0f32d commit 134f160
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags_or_path/')"
needs: [macos, windows, linux]
if: "startsWith(github.ref, 'refs/tags/')"
needs: [macos, windows, linux, core]
steps:
- uses: actions/download-artifact@v2
with:
Expand All @@ -177,18 +177,18 @@ jobs:
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD_CORE }}
run: |
pip install --upgrade twine
twine upload --skip-existing dist/ltp_core-*
twine upload --skip-existing 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-*
twine upload --skip-existing ltp_extension-*
- name: Publish LTP to PyPi
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload --skip-existing dist/ltp-*
twine upload --skip-existing ltp-*
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

| Language | version |
| -------- | --------------------------------------------------------------------------------------------- |
| Python | [![LTP](https://img.shields.io/pypi/v/ltp?label=LTP4%20ALPHA)](https://pypi.org/project/ltp/) |
| Rust | |
| Python | [![LTP](https://img.shields.io/pypi/v/ltp?label=LTP4%20ALPHA)](https://pypi.org/project/ltp) |
| Rust | [![LTP](https://img.shields.io/crates/d/ltp?label=LTP%20Alpha)](https://crates.io/crates/ltp) |

# LTP 4

Expand Down
9 changes: 9 additions & 0 deletions rust/ltp/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
![CODE SIZE](https://img.shields.io/github/languages/code-size/HIT-SCIR/ltp)
![CONTRIBUTORS](https://img.shields.io/github/contributors/HIT-SCIR/ltp)
![LAST COMMIT](https://img.shields.io/github/last-commit/HIT-SCIR/ltp)

| Language | version |
| -------- | --------------------------------------------------------------------------------------------- |
| Python | [![LTP](https://img.shields.io/pypi/v/ltp?label=LTP4%20ALPHA)](https://pypi.org/project/ltp) |
| Rust | [![LTP](https://img.shields.io/crates/d/ltp?label=LTP%20Alpha)](https://crates.io/crates/ltp) |

# LTP For Rust

传统机器学习方法(LTP 3)实现的 CWS / POS / NER 算法。
Expand Down

0 comments on commit 134f160

Please sign in to comment.