Skip to content

Commit 226ff74

Browse files
committed
Oops fix ordering
1 parent ed9777e commit 226ff74

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/build-wheels.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,6 @@ jobs:
114114
# # (https://numpy.org/devdocs/f2py/windows/intel.html#f2py-and-windows-intel-fortran)
115115
# compiler: "intel-classic"
116116
# version: "2021.10"
117-
# TODO: remove, diagnostic only
118-
- name: Upload build dir
119-
uses: actions/upload-artifact@v4
120-
if: always()
121-
with:
122-
name: cibw-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}
123-
path: ./build
124-
if-no-files-found: error
125117
- name: Build wheels
126118
uses: pypa/[email protected] # matplotlib had v3.1.3
127119
with:
@@ -130,6 +122,13 @@ jobs:
130122
config-file: "{package}/pyproject.toml"
131123
env:
132124
CIBW_ARCHS: ${{ matrix.cibw_archs }}
125+
- name: Upload build dir to help with diagnosis
126+
uses: actions/upload-artifact@v4
127+
if: failure()
128+
with:
129+
name: cibw-wheels-${{ matrix.os }}-${{ matrix.cibw_archs }}
130+
path: ./build
131+
if-no-files-found: error
133132
- name: Upload wheels
134133
uses: actions/upload-artifact@v4
135134
with:

0 commit comments

Comments
 (0)