Skip to content

Commit 8af0b17

Browse files
committed
runner.os does not include the arch
1 parent d3875ca commit 8af0b17

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/pyo3-wheels.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,25 +87,23 @@ jobs:
8787
with:
8888
python-version: ${{ matrix.python-version }}
8989
- uses: actions/cache@v4
90-
if: false
9190
with:
9291
path: |
9392
~/.cargo/bin/
9493
~/.cargo/registry/index/
9594
~/.cargo/registry/cache/
9695
~/.cargo/git/db/
9796
target/
98-
key: ${{ runner.os }}-cargo-${{ hashFiles('ua-parser-py/Cargo.toml') }}
97+
key: ${{ runner.name }}-cargo-${{ hashFiles('ua-parser-py/Cargo.toml') }}
9998
restore-keys: |
10099
${{ runner.os }}-cargo-
101100
102101
- uses: actions/cache@v4
103-
if: false
104102
with:
105103
path: |
106104
~/.cache/pip
107105
~/.cache/pip-graalpy
108-
key: ${{ runner.os }}-pip-maturin-${{ matrix.python-version }}
106+
key: ${{ runner.name }}-pip-maturin-${{ matrix.python-version }}
109107
# windows/arm doesn't have a rust toolchain by default
110108
- if: matrix.platform == 'windows' && matrix.arch == 'aarch64'
111109
uses: actions-rust-lang/setup-rust-toolchain@v1

0 commit comments

Comments
 (0)