fix: Fix cache toggle not working.

This commit is contained in:
Miles Johnson 2023-05-09 11:18:04 -07:00
parent 7229efd154
commit 711a320c49
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ export const CARGO_HOME = process.env.CARGO_HOME ?? path.join(os.homedir(), '.ca
export const WORKSPACE_ROOT = process.env.GITHUB_WORKSPACE ?? process.cwd();
export const CACHE_ENABLED = core.getBooleanInput('cache') || cache.isFeatureAvailable();
export const CACHE_ENABLED = core.getBooleanInput('cache') && cache.isFeatureAvailable();
export async function downloadAndInstallBinstall(binDir: string) {
core.info('cargo-binstall does not exist, attempting to install');