Skip to content

Commit 8939eaf

Browse files
committed
debug
1 parent 3d0260e commit 8939eaf

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/create_draft_release.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ jobs:
185185
# Extract sdist to access tests
186186
cd /tmp
187187
tar -xzf /github/workspace/dist/${{needs.package_python3.outputs.sdist}}
188-
cd python-minifier-*
188+
extracted_dir=$(tar -tzf /github/workspace/dist/${{needs.package_python3.outputs.sdist}} | head -1 | cut -f1 -d"/")
189+
cd "$extracted_dir"
189190
190191
# Install test dependencies and package
191192
pip${{ matrix.python }} install -r test/requirements.txt
@@ -323,6 +324,6 @@ jobs:
323324
run: |
324325
gh release upload "$RELEASE_ID" \
325326
--repo ${{ github.repository }} \
326-
dist/${SDIST} \
327-
dist/${PYTHON3_WHEEL} \
328-
dist/${PYTHON2_WHEEL}
327+
"dist/${SDIST}" \
328+
"dist/${PYTHON3_WHEEL}" \
329+
"dist/${PYTHON2_WHEEL}"

0 commit comments

Comments
 (0)