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

View file

@ -4,7 +4,7 @@
"description": "A GitHub action for setting up Rust and Cargo.",
"main": "dist/index.js",
"scripts": {
"build": "ncc build ./index.ts",
"build": "ncc build ./index.ts && ncc build ./post.ts --out ./dist/post",
"check": "npm run lint && npm run typecheck",
"lint": "eslint --ext .ts,.js --fix .",
"typecheck": "tsc --noEmit"
@ -16,6 +16,7 @@
"author": "Miles Johnson",
"license": "MIT",
"dependencies": {
"@actions/cache": "^3.2.1",
"@actions/core": "^1.10.0",
"@actions/exec": "^1.1.1",
"@actions/tool-cache": "^2.0.1",