Skip to content

Commit bb7da92

Browse files
committed
remove caches, runner.name is not enough
macos/x86_64 ends up with rustc going missing, and linux/arm ends up with an x86 rustc in `.cargo/bin`. Caching is probably not worth the hassle if we're not running this on every build anyway maybe?
1 parent 55463bd commit bb7da92

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.github/workflows/pyo3-wheels.yml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -86,24 +86,6 @@ jobs:
8686
- uses: actions/setup-python@v5
8787
with:
8888
python-version: ${{ matrix.python-version }}
89-
- uses: actions/cache@v4
90-
with:
91-
path: |
92-
~/.cargo/bin/
93-
~/.cargo/registry/index/
94-
~/.cargo/registry/cache/
95-
~/.cargo/git/db/
96-
target/
97-
key: ${{ runner.name }}-cargo-${{ hashFiles('ua-parser-py/Cargo.toml') }}
98-
restore-keys: |
99-
${{ runner.os }}-cargo-
100-
101-
- uses: actions/cache@v4
102-
with:
103-
path: |
104-
~/.cache/pip
105-
~/.cache/pip-graalpy
106-
key: ${{ runner.name }}-pip-maturin-${{ matrix.python-version }}
10789
# windows/arm doesn't have a rust toolchain by default
10890
- if: matrix.platform == 'windows' && matrix.arch == 'aarch64'
10991
uses: actions-rust-lang/setup-rust-toolchain@v1
@@ -218,12 +200,6 @@ jobs:
218200
with:
219201
python-version: ${{ matrix.python-version }}
220202
allow-prereleases: true
221-
- uses: actions/cache@v4
222-
with:
223-
path: |
224-
~/.cache/pip
225-
~/.cache/pip-graalpy
226-
key: ${{ runner.os }}-pip-${{ matrix.python-version }}
227203
- name: Retrieve wheel
228204
uses: actions/download-artifact@v4
229205
with:

0 commit comments

Comments
 (0)