Skip to content

Commit ad9dc83

Browse files
Fixed another issue in publish action
1 parent 303bc11 commit ad9dc83

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/publish.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ jobs:
9292
run: |
9393
mkdir -p wheels
9494
mkdir -p dist
95+
mkdir -p dist_full
9596
9697
# Compile wheels
9798
for PYBIN in /opt/python/*/bin; do
@@ -102,21 +103,23 @@ jobs:
102103
103104
# Bundle external shared libraries into the wheels
104105
for whl in wheels/*.whl; do
105-
if [[ "$whl" == "wheels/franky_panda-*.whl" ]]; then
106-
auditwheel repair "$whl" -w dist/
106+
if [[ "$whl" =~ wheels/franky_panda-.*\.whl ]]; then
107+
auditwheel repair "$whl" -w dist_full/
107108
else
108-
cp "$whl" dist/
109+
cp "$whl" dist_full/
109110
fi
110111
done
111112
112113
# Install packages and test
113114
for PYBIN in /opt/python/*/bin/; do
114115
if [[ "${PYBIN}" =~ ${PYBIN_SUPPORTED_VERSIONS} ]]; then
115-
"${PYBIN}/pip" install franky-panda --no-index -f dist
116+
"${PYBIN}/pip" install franky-panda --no-index -f dist_full
116117
# (cd "$HOME"; "${PYBIN}/nosetests" -w /io/tests)
117118
fi
118119
done
119120
121+
cp dist_full/franky_panda-*.whl dist/
122+
120123
ls dist
121124
122125
- name: Publish python package

0 commit comments

Comments
 (0)