mirror of
https://github.com/moonrepo/setup-rust.git
synced 2025-04-29 21:40:01 +00:00
Add restore cache.
This commit is contained in:
parent
f6bb205e1d
commit
7b19c2c567
7 changed files with 355 additions and 21 deletions
5
helpers.ts
Normal file
5
helpers.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
import os from 'os';
|
||||
import path from 'path';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
|
||||
export const CARGO_HOME = process.env.CARGO_HOME || path.join(os.homedir(), '.cargo');
|
Loading…
Add table
Add a link
Reference in a new issue