@@ -36,40 +36,40 @@ jobs:
36
36
37
37
pytest tests/test_lineless_table_rec.py
38
38
39
- GenerateWHL_PushPyPi :
40
- needs : UnitTesting
41
- runs-on : ubuntu-latest
39
+ GenerateWHL_PushPyPi :
40
+ needs : UnitTesting
41
+ runs-on : ubuntu-latest
42
42
43
- steps :
44
- - uses : actions/checkout@v3
43
+ steps :
44
+ - uses : actions/checkout@v3
45
45
46
- - name : Set up Python 3.7
47
- uses : actions/setup-python@v4
48
- with :
49
- python-version : ' 3.7'
50
- architecture : ' x64'
46
+ - name : Set up Python 3.7
47
+ uses : actions/setup-python@v4
48
+ with :
49
+ python-version : ' 3.7'
50
+ architecture : ' x64'
51
51
52
- - name : Run setup.py
53
- run : |
54
- pip install -r requirements.txt
55
- python -m pip install --upgrade pip
56
- pip install wheel get_pypi_latest_version
52
+ - name : Run setup.py
53
+ run : |
54
+ pip install -r requirements.txt
55
+ python -m pip install --upgrade pip
56
+ pip install wheel get_pypi_latest_version
57
57
58
- wget https://github.com/RapidAI/TableStructureRec/releases/download/v0.0.0/lineless_table_rec_models.zip
59
- unzip lineless_table_rec_models.zip
60
- mv lineless_table_rec_models/*.onnx lineless_table_rec/models/
58
+ wget https://github.com/RapidAI/TableStructureRec/releases/download/v0.0.0/lineless_table_rec_models.zip
59
+ unzip lineless_table_rec_models.zip
60
+ mv lineless_table_rec_models/*.onnx lineless_table_rec/models/
61
61
62
- python setup_lineless.py bdist_wheel "${{ github.event.head_commit.message }}"
62
+ python setup_lineless.py bdist_wheel "${{ github.event.head_commit.message }}"
63
63
64
- # - name: Publish distribution 📦 to Test PyPI
65
- # uses: pypa/gh-action-pypi-publish@v1.5.0
66
- # with:
67
- # password: ${{ secrets.TEST_PYPI_API_TOKEN }}
68
- # repository_url: https://test.pypi.org/legacy/
69
- # packages_dir: dist/
64
+ # - name: Publish distribution 📦 to Test PyPI
65
+ # uses: pypa/gh-action-pypi-publish@v1.5.0
66
+ # with:
67
+ # password: ${{ secrets.TEST_PYPI_API_TOKEN }}
68
+ # repository_url: https://test.pypi.org/legacy/
69
+ # packages_dir: dist/
70
70
71
- - name : Publish distribution 📦 to PyPI
72
- uses : pypa/gh-action-pypi-publish@v1.5.0
73
- with :
74
- password : ${{ secrets.PYPI_API_TOKEN }}
75
- packages_dir : dist/
71
+ - name : Publish distribution 📦 to PyPI
72
+ uses : pypa/gh-action-pypi-publish@v1.5.0
73
+ with :
74
+ password : ${{ secrets.PYPI_API_TOKEN }}
75
+ packages_dir : dist/
0 commit comments