File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,23 +31,23 @@ jobs:
3131 with :
3232 arch : none
3333 distro : none
34- base_image : " --platform=linux/aarch64 ubuntu:20 .04"
34+ base_image : " --platform=linux/aarch64 ubuntu:22 .04"
3535 githubToken : ${{ github.token }}
3636 dockerRunArgs : |
3737 --volume "${PWD}/dist:/artifacts"
3838 install : |
3939 apt-get update
40- apt-get install -y --no-install-recommends software-properties-common curl git gcc
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 }}
40+ apt-get install -y --no-install-recommends software-properties-common curl
41+ add-apt-repository ppa:deadsnakes/ppa
42+ apt update
43+ apt-get install -y python${{ matrix.python-version }}-venv
4644 run : |
4745 ls -lrth /artifacts
48- pip install -U pip
49- pip install longport --no-index --find-links /artifacts --force-reinstall
50- python -c 'import longport'
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'
5151 - name : Upload wheels
5252 uses : actions/upload-artifact@v4
5353 with :
You can’t perform that action at this time.
0 commit comments