This action installs sccache under $USERPROFILE/.cargo/bin. GitHub runner images already have $USERPROFILE/.cargo/bin in the PATH, but self-hosted runners may not. This PR makes this action update the user's PATH to include the installation directory. This allows self-hosted runners to find sccache and prevents breakages in the unlikely event that a different installation directory is chosen in the future.
This action installs sccache under
$USERPROFILE/.cargo/bin
. GitHub runner images already have$USERPROFILE/.cargo/bin
in the PATH, but self-hosted runners may not. This PR makes this action update the user's PATH to include the installation directory. This allows self-hosted runners to findsccache
and prevents breakages in the unlikely event that a different installation directory is chosen in the future.