Skip to content

Commit 2c803f5

Browse files
Dont hardcode wheels version (#1)
1 parent 06b1ccb commit 2c803f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ jobs:
126126
127127
- name: Run sample demo in clean environment
128128
run: |
129-
pip install ./wheels/linux/jecq-0.0.1-py3-none-any.whl
129+
pip install "$(ls ./wheels/linux/jecq-*.whl | head -n1)"
130130
pip install -r ./demos/requirements.txt
131131
# Run demo script
132132
python3 ./demos/demo_sample_search.py
@@ -162,10 +162,10 @@ jobs:
162162
run: |
163163
echo "Listing wheels-linux:"
164164
ls -l wheels-linux
165-
mv wheels-linux/jecq-0.0.1-py3-none-any.whl wheels-linux/jecq-linux.whl
165+
mv wheels-linux/jecq-*.whl wheels-linux/jecq-linux.whl
166166
echo "Listing wheels-windows:"
167167
ls -l wheels-windows
168-
mv wheels-windows/jecq-0.0.1-py3-none-any.whl wheels-windows/jecq-windows.whl
168+
mv wheels-windows/jecq-*.whl wheels-windows/jecq-windows.whl
169169
170170
- name: Create draft release
171171
uses: softprops/action-gh-release@v1

0 commit comments

Comments
 (0)