Skip to content

Commit d97dbcd

Browse files
committed
addressing comments
1 parent 558f4a2 commit d97dbcd

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/wheels.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ jobs:
177177
CIBW_BEFORE_BUILD_WINDOWS: 'python -m pip install delvewheel'
178178

179179
- name: Set up Python for validation/upload (non-ARM64 Windows & other OS)
180+
# micromamba is not available for ARM64 Windows
180181
if: matrix.buildplat[1] != 'win_arm64'
181182
uses: mamba-org/setup-micromamba@v2
182183
with:
@@ -190,13 +191,15 @@ jobs:
190191
cache-downloads: true
191192
cache-environment: true
192193

194+
- name: Install wheel for win_arm64
195+
# installing wheel here because micromamba step was skipped
196+
if: matrix.buildplat[1] == 'win_arm64'
197+
shell: bash -el {0}
198+
run: python -m pip install wheel
199+
193200
- name: Validate wheel RECORD
194201
shell: bash -el {0}
195-
run: |
196-
if [[ "${{ matrix.buildplat[1] }}" == "win_arm64" ]]; then
197-
python -m pip install wheel
198-
fi
199-
for whl in $(ls wheelhouse); do wheel unpack wheelhouse/$whl -d /tmp; done
202+
run: for whl in $(ls wheelhouse); do wheel unpack wheelhouse/$whl -d /tmp; done
200203

201204
- uses: actions/upload-artifact@v4
202205
with:

0 commit comments

Comments
 (0)