Skip to content

Commit

Permalink
ci: Fixed CI trigger conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed Oct 17, 2024
1 parent 31f5420 commit 2eea1c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish_whl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
- name: Pull latest code
uses: actions/checkout@v3

- name: Set up Python 3.7
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.7'
python-version: '3.10'
architecture: 'x64'

- name: Display Python version
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
DIR_NAME=${ZIP_NAME%.*}
unzip $ZIP_NAME
mv $DIR_NAME/slanet-plus.onnx rapid_table/models/
python setup.py bdist_wheel ${{ github.event.head_commit.message }}
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 2eea1c7

Please sign in to comment.