PyO3 / maturin-action

GitHub Action to install and run a custom maturin command with built-in support for cross compilation
MIT License
127 stars 35 forks source link

Move before script before sccache setup #264

Closed orf closed 4 months ago

orf commented 4 months ago

Refs https://github.com/PyO3/maturin-action/issues/249

Right now this fails because the pip module is not available. A more comprehensive fix is likely possible, but for now just moving before-script-linux before the sccache installation allows the user to install the python3-pip package.

More generally, running the before script as early as possible is a good thing, as it allows workarounds for any future problems that may arise like this.