diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml index 6f768633..56f908e9 100644 --- a/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml +++ b/.github/workflows/gen_whl_to_pypi_rapidocr_ort.yml @@ -21,10 +21,10 @@ jobs: - name: Pull latest code uses: actions/checkout@v4 - - 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 @@ -52,21 +52,12 @@ jobs: steps: - uses: actions/checkout@v4 - - 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: Set SSH Environment - env: - DEPLOY_KEYS: ${{ secrets.GEN_PYTHON_SDK }} - run: | - mkdir -p ~/.ssh/ - echo "$DEPLOY_KEYS" > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - chmod 700 ~/.ssh && chmod 600 ~/.ssh/* - - name: Download models run: | cd python diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml index 75fdff2d..8eafe74e 100644 --- a/.github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml +++ b/.github/workflows/gen_whl_to_pypi_rapidocr_paddle.yml @@ -22,10 +22,10 @@ jobs: - name: Pull latest code uses: actions/checkout@v4 - - 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 @@ -51,21 +51,12 @@ jobs: steps: - uses: actions/checkout@v4 - - 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: Set SSH Environment - env: - DEPLOY_KEYS: ${{ secrets.GEN_PYTHON_SDK }} - run: | - mkdir -p ~/.ssh/ - echo "$DEPLOY_KEYS" > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - chmod 700 ~/.ssh && chmod 600 ~/.ssh/* - - name: Download models run: | cd python diff --git a/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml b/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml index 455d54c6..88839268 100644 --- a/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml +++ b/.github/workflows/gen_whl_to_pypi_rapidocr_vino.yml @@ -21,10 +21,10 @@ jobs: - name: Pull latest code uses: actions/checkout@v4 - - 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 @@ -50,21 +50,12 @@ jobs: steps: - uses: actions/checkout@v4 - - 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: Set SSH Environment - env: - DEPLOY_KEYS: ${{ secrets.GEN_PYTHON_SDK }} - run: | - mkdir -p ~/.ssh/ - echo "$DEPLOY_KEYS" > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - chmod 700 ~/.ssh && chmod 600 ~/.ssh/* - - name: Download models run: | cd python