We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6572c3 commit c976915Copy full SHA for c976915
.github/workflows/ci.yaml
@@ -38,12 +38,10 @@ jobs:
38
python -m build .
39
40
# ensure exactly one artifact was produced
41
- shopt -s nullglob
42
- DISTFILES=(dist/*.tar.gz)
43
- if [[ ${DISTFILES[@]} -ne 1 ]]; then
+ [[ $(shopt -s nullglob; ls dist/*.tar.gz | wc -w) == 1 ]] || {
44
echo "unexpected content in dist dir: $(ls dist/*.tar.gz)"
45
exit 1
46
- fi
+ }
47
48
- name: test sdist
49
run: |
@@ -97,7 +95,7 @@ jobs:
97
95
- name: build libyaml
98
96
run: >
99
docker run --rm
100
- --volume $(pwd):/io
+ --volume "$(pwd):/io"
101
--env LIBYAML_REF
102
--env LIBYAML_REPO
103
--workdir /io
@@ -154,7 +152,7 @@ jobs:
154
152
155
153
docker run --rm --tty --detach
156
--name worker
157
158
"$DOCKER_IMAGE"
159
bash
160
0 commit comments