mirror of
https://github.com/RapidAI/RapidOCR.git
synced 2026-11-10 21:10:55 +08:00
ci(rapidocr_web): fixed python version
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user