Skip to content

Commit c0b9024

Browse files
committed
build wheel
1 parent 6082a4f commit c0b9024

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

.github/workflows/pull-request-management.yml

+12-9
Original file line numberDiff line numberDiff line change
@@ -138,12 +138,15 @@ jobs:
138138
WORKDIR /avd
139139
140140
# Build the wheel package
141-
RUN pip install -r .github/requirements-ci.txt --upgrade && \
142-
mkdir -p /wheels && \
143-
find / -name "pyavd*.whl" -exec mv {} /wheels/ \; && \
144-
echo "Wheel packages moved to /wheels:" && \
145-
ls -al /wheels && \
146-
test "$(ls -A /wheels)" || (echo "No wheel package found in /wheels!" && exit 1)
141+
RUN cd python-avd && \
142+
pip3 install build
143+
python3 -m build --wheel
144+
# cd .. && \
145+
# mkdir /wheels && \
146+
# find / -name "pyavd*.whl" -exec mv {} /wheels/ \; && \
147+
# echo "Wheel packages moved to /wheels:" && \
148+
# ls -al /wheels && \
149+
# test "$(ls -A /wheels)" || (echo "No wheel package found in /wheels!" && exit 1)
147150
148151
# # Create virtual env
149152
# # RUN uv venv --python 3.10 UV3.10 && \
@@ -179,9 +182,9 @@ jobs:
179182
EOF
180183
echo "Dockerfile created successfully."
181184
182-
# - name: Build Docker Image
183-
# run: |
184-
# docker build -t ghcr.io/${{ steps.lowercase.outputs.lowercase }}/avd/python_avd:0.0.1 .
185+
- name: Build Docker Image
186+
run: |
187+
docker build -t ghcr.io/${{ steps.lowercase.outputs.lowercase }}/avd/python_avd:0.0.1 .
185188
186189
# - name: Push Docker Image
187190
# run: |

0 commit comments

Comments
 (0)