File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,10 @@ jobs:
38
38
python -m build .
39
39
40
40
# ensure exactly one artifact was produced
41
- shopt -s nullglob
42
- DISTFILES=(dist/*.tar.gz)
43
- if [[ ${DISTFILES[@]} -ne 1 ]]; then
41
+ [[ $(shopt -s nullglob; ls dist/*.tar.gz | wc -w) == 1 ]] || {
44
42
echo "unexpected content in dist dir: $(ls dist/*.tar.gz)"
45
43
exit 1
46
- fi
44
+ }
47
45
48
46
- name : test sdist
49
47
run : |
97
95
- name : build libyaml
98
96
run : >
99
97
docker run --rm
100
- --volume $(pwd):/io
98
+ --volume " $(pwd):/io"
101
99
--env LIBYAML_REF
102
100
--env LIBYAML_REPO
103
101
--workdir /io
@@ -154,7 +152,7 @@ jobs:
154
152
run : >
155
153
docker run --rm --tty --detach
156
154
--name worker
157
- --volume $(pwd):/io
155
+ --volume " $(pwd):/io"
158
156
"$DOCKER_IMAGE"
159
157
bash
160
158
You can’t perform that action at this time.
0 commit comments