Skip to content

Commit ec3c47d

Browse files
.
1 parent 71afca8 commit ec3c47d

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/python-package.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,11 @@ jobs:
9999
name: linux-wheel
100100
path: wheel-download
101101

102+
- name: Find wheel file (Python)
103+
run: echo "LINUX_WHEEL_NAME=$(python -c "import os, glob; print(glob.glob('wheel-download/*.whl')[0])")" >> $GITHUB_ENV
104+
102105
- name: Install wheel
103-
run: pip install wheel-download/*.whl
106+
run: pip install ${{ env.LINUX_WHEEL_NAME }}
104107

105108
- name: Test Import
106109
run: python -c "from lib3mf import get_wrapper"
@@ -149,8 +152,11 @@ jobs:
149152
name: macos-wheel
150153
path: wheel-download
151154

155+
- name: Identify OSX Wheel
156+
run: echo "OSX_WHEEL_NAME=$(python -c "import os, glob; print(glob.glob('wheel-download/*.whl')[0])")" >> $GITHUB_ENV
157+
152158
- name: Install wheel
153-
run: pip install wheel-download/*.whl
159+
run: pip install ${{ env.OSX_WHEEL_NAME }}
154160

155161
- name: Test Import
156162
run: python -c "from lib3mf import get_wrapper"

0 commit comments

Comments
 (0)