mirror of
https://github.com/moonrepo/setup-rust.git
synced 2025-04-19 09:08:43 +00:00
fix: Fix cache toggle not working.
This commit is contained in:
parent
7229efd154
commit
711a320c49
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@moonrepo/setup-rust",
|
||||
"version": "0.6.0",
|
||||
"version": "0.6.1",
|
||||
"description": "A GitHub action for setting up Rust and Cargo.",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
|
|
|
@ -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');
|
||||
|
|
Loading…
Add table
Reference in a new issue