Skip to content

Commit a6687ed

Browse files
authored
Update ci.yml
1 parent 61683fc commit a6687ed

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)