mirror of
https://github.com/actions/github-script.git
synced 2026-04-08 07:00:05 +00:00
Add @actions/cache to dependencies
This commit is contained in:
parent
5fa6e37385
commit
b092345930
6 changed files with 54897 additions and 9346 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import * as cache from '@actions/cache'
|
||||
import * as core from '@actions/core'
|
||||
import {Context} from '@actions/github/lib/context'
|
||||
import {GitHub} from '@actions/github/lib/utils'
|
||||
|
|
@ -12,6 +13,7 @@ type AsyncFunctionArguments = {
|
|||
github: InstanceType<typeof GitHub>
|
||||
glob: typeof glob
|
||||
io: typeof io
|
||||
cache: typeof cache
|
||||
require: NodeRequire
|
||||
__original_require__: NodeRequire
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
import * as cache from '@actions/cache'
|
||||
import * as core from '@actions/core'
|
||||
import {context, getOctokit} from '@actions/github'
|
||||
import * as glob from '@actions/glob'
|
||||
|
|
@ -37,7 +38,8 @@ async function main(): Promise<void> {
|
|||
context,
|
||||
core,
|
||||
glob,
|
||||
io
|
||||
io,
|
||||
cache
|
||||
},
|
||||
script
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue