Skip to content

Commit aabeec2

Browse files
committed
github actions: try to not use direct path
1 parent ade8b35 commit aabeec2

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test-and-deploy.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,17 +209,22 @@ jobs:
209209

210210
- name: Move wheelhouse wheel files to dist
211211
run: |
212+
rm dist/*
212213
mv wheelhouse/* dist/
213214
rmdir wheelhouse
214215
215216
- name: List contents of dist
216217
run: ls -R dist
217218

219+
- name: Get the name of the wheel file
220+
id: get-wheel-name
221+
run: echo "::set-output name=wheel-name::$(ls dist/*.whl)"
222+
218223
- name: Archive build artifacts
219224
uses: actions/upload-artifact@v1
220225
with:
221226
name: dist-artifacts-manylinux-${{ matrix.python }}
222-
path: dist/*
227+
path: ${{ steps.get-wheel-name.outputs.wheel-name }}
223228

224229
deploy-test:
225230
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)