File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -157,8 +157,11 @@ jobs:
157157 ext_src="target/${{ inputs.target }}/release/lib_native.dylib"
158158 [ -f "$ext_src" ] && cp "$ext_src" staging/_native.abi3.so
159159 elif [ "${{ inputs.binary_ext }}" = ".exe" ]; then
160- [ -f target/release/_native.dll ] && \
161- cp target/release/_native.dll staging/_native.pyd
160+ for ext_src in \
161+ "target/${{ inputs.target }}/release/_native.dll" \
162+ "target/release/_native.dll"; do
163+ [ -f "$ext_src" ] && cp "$ext_src" staging/_native.pyd && break
164+ done
162165 else
163166 for ext in so dylib; do
164167 src="target/release/lib_native.$ext"
@@ -182,6 +185,7 @@ jobs:
182185 strip staging/fbuild${{ inputs.binary_ext }} || true
183186 strip staging/fbuild-daemon${{ inputs.binary_ext }} || true
184187 strip staging/_native.abi3.so 2>/dev/null || true
188+ strip staging/_native.pyd 2>/dev/null || true
185189 fi
186190
187191 - name : Upload artifacts
You can’t perform that action at this time.
0 commit comments