Skip to content

Commit

Permalink
fix(ci): Fixed the automatic release of whl package program
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Jun 20, 2024
1 parent 42f9e16 commit 38e4cb7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
cp $DIR_NAME/*.onnx rapid_layout/models/
pip install -r requirements.txt
pip install pytest wheel get_pypi_latest_version
pytest tests/test_layout.py
pytest tests/test*.py
GenerateWHL_PushPyPi:
needs: UnitTesting
Expand All @@ -51,7 +51,7 @@ jobs:
DIR_NAME=${ZIP_NAME%.*}
unzip $ZIP_NAME
mv $DIR_NAME/*.onnx rapid_layout/models/
python setup_layout.py bdist_wheel ${{ github.ref_name }}
python setup.py bdist_wheel ${{ github.ref_name }}
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@v1.5.0
Expand Down

0 comments on commit 38e4cb7

Please sign in to comment.