Skip to content

Commit

Permalink
ci(rapidocr_openvino): Change the trigger mode to file change trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
SWHL committed May 18, 2024
1 parent ef92024 commit 23b657e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/gen_whl_to_pypi_rapidocr_vino.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: Push rapidocr_openvino to pypi

on:
push:
# branches: [ main ]
# paths:
# - 'python/rapidocr_openvino/**'
# - 'docs/doc_whl_rapidocr_vino.md'
# - 'python/setup_openvino.py'
# - '.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml'
tags:
- v*
branches: [ main ]
paths:
- 'python/rapidocr_openvino/**'
- 'docs/doc_whl_rapidocr_vino.md'
- 'python/setup_openvino.py'
- '.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml'
# tags:
# - v*

env:
RESOURCES_URL: https://github.com/RapidAI/RapidOCR/releases/download/v1.1.0/required_for_whl_v1.3.0.zip
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
cd ..
python -m pip install --upgrade pip
python setup_openvino.py bdist_wheel ${{ github.ref_name }}
python setup_openvino.py bdist_wheel "{{ github.event.head_commit.message }}"
mv dist ../
- name: Publish distribution 📦 to PyPI
Expand Down

0 comments on commit 23b657e

Please sign in to comment.