Skip to content

Commit 230625b

Browse files
committed
ci(lineless_table_rec): Fix yaml syntax error
1 parent 33c0864 commit 230625b

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

.github/workflows/lineless_table_rec.yml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -36,40 +36,40 @@ jobs:
3636
3737
pytest tests/test_lineless_table_rec.py
3838
39-
GenerateWHL_PushPyPi:
40-
needs: UnitTesting
41-
runs-on: ubuntu-latest
39+
GenerateWHL_PushPyPi:
40+
needs: UnitTesting
41+
runs-on: ubuntu-latest
4242

43-
steps:
44-
- uses: actions/checkout@v3
43+
steps:
44+
- uses: actions/checkout@v3
4545

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'
5151

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
5757
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/
6161
62-
python setup_lineless.py bdist_wheel "${{ github.event.head_commit.message }}"
62+
python setup_lineless.py bdist_wheel "${{ github.event.head_commit.message }}"
6363
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/
7070

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

Comments
 (0)