new: Add .cargo/target caching. (#2)

This commit is contained in:
Miles Johnson 2023-04-17 15:20:40 -07:00 committed by GitHub
parent 9a4d9a0018
commit 9d93ed2c80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 528 additions and 29 deletions

12
post.ts Normal file
View file

@ -0,0 +1,12 @@
import * as core from '@actions/core';
import { saveCache } from './src/cargo';
async function run() {
try {
await saveCache();
} catch (error: unknown) {
core.setFailed((error as Error).message);
}
}
void run();