File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -29,25 +29,28 @@ jobs:
2929 run : |
3030 docker run --rm --platform linux/arm/v7 -v $(pwd):/workspace -w /workspace arm32v7/python:3 \
3131 /bin/sh -c "
32+ git clone https://github.com/luochen88/python-miio-git &&\
3233 apt-get update && \
3334 apt-get install -y git tar gcc curl && \
3435 curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
3536 export PATH=\$HOME/.cargo/bin:\$PATH && \
3637 python -m venv venv && \
3738 . venv/bin/activate && \
39+ cp ./python-miio-git/* ./venv/
3840 pip install --upgrade pip && \
3941 pip install git+https://github.com/rytilahti/python-miio.git && \
40- python -c 'import miio; print(miio.__version__)' > version.txt
42+ python -c 'import miio; print(miio.__version__)' > version.txt && \
43+ pip freeze > requirements.txt
4144 "
4245
4346 - name : Archive virtual environment
4447 run : |
45- tar -czvf python-miio-armv7 .tar.gz venv/
48+ tar -czvf python-miio-git .tar.gz venv/
4649
4750 - name : Upload artifact
4851 uses : actions/upload-artifact@v4
4952 with :
50- name : python-miio-armv7
53+ name : python-miio-git
5154 path : |
52- python-miio-armv7 .tar.gz
55+ python-miio-git .tar.gz
5356 version.txt
You can’t perform that action at this time.
0 commit comments