ci(rapidocr_web): fixed python version

This commit is contained in:
SWHL committed 2025-07-25 08:10:28 +08:00
1 parent 8406acdee9
commit ac144f1882
1 file changed
+2 -11
@@ -17,21 +17,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: Run setup.py
run: |
cd ocrweb