Skip to content

Commit 2c9a277

Browse files
authored
Merge pull request #163 from BASE-Laboratory/claude/fix-pypi-wheels-workflow-pGw8y
Fix cache tarball path: write to /project/ bind-mount, not /output/
2 parents 022e5c5 + 69d8204 commit 2c9a277

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/pypi-wheels.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ jobs:
115115
-DCMAKE_POSITION_INDEPENDENT_CODE=ON &&
116116
cmake --build /tmp/amrex/build -j$(nproc) &&
117117
cmake --install /tmp/amrex/build &&
118-
tar czf /output/deps.tar.gz /usr/local ;
118+
mkdir -p /project/.cibw-deps-cache &&
119+
tar czf /project/.cibw-deps-cache/deps.tar.gz /usr/local ;
119120
fi
120121
121122
# Ensure each Python version has cmake >= 3.28 (needed by AMReX)
@@ -152,11 +153,6 @@ jobs:
152153
--exclude libgfortran.so.5
153154
--exclude libquadmath.so.0
154155
155-
- name: Rescue Cache Tarball
156-
run: |
157-
mkdir -p .cibw-deps-cache
158-
mv wheelhouse/deps.tar.gz .cibw-deps-cache/ || true
159-
160156
- name: Upload wheels as artifacts
161157
uses: actions/upload-artifact@v4
162158
with:

0 commit comments

Comments
 (0)