Add restore cache.

This commit is contained in:
Miles Johnson 2023-04-17 13:55:27 -07:00
parent f6bb205e1d
commit 7b19c2c567
7 changed files with 355 additions and 21 deletions

5
helpers.ts Normal file
View 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');