File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,16 +38,16 @@ jobs:
3838 install : |
3939 apt-get update
4040 apt-get install -y --no-install-recommends software-properties-common curl
41- sudo add-apt-repository ppa:deadsnakes/ppa
42- sudo apt update
43- apt-get install -y python${{ matrix.python-version }}-venv
41+ curl -fsSL https://pyenv.run | bash
42+ export PATH="$HOME/.pyenv/bin:$PATH"
43+ eval "$(pyenv init --path)"
44+ pyenv install ${{ matrix.python-version }}
45+ pyenv global ${{ matrix.python-version }}
4446 run : |
4547 ls -lrth /artifacts
46- PYTHON=python${{ matrix.python-version }}
47- $PYTHON -m venv venv
48- venv/bin/pip install -U pip
49- venv/bin/pip install longport --no-index --find-links /artifacts --force-reinstall
50- venv/bin/python -c 'import longport'
48+ pip install -U pip
49+ pip install longport --no-index --find-links /artifacts --force-reinstall
50+ python -c 'import longport'
5151 - name : Upload wheels
5252 uses : actions/upload-artifact@v4
5353 with :
You can’t perform that action at this time.
0 commit comments