mirror of
https://github.com/moonrepo/setup-rust.git
synced 2025-04-20 01:28:43 +00:00
12 lines
222 B
TypeScript
12 lines
222 B
TypeScript
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();
|