File tree 7 files changed +2701
-2
lines changed
Filter options
7 files changed +2701
-2
lines changed
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ The following arguments will be provided:
18
18
- ` glob ` A reference to the [ @actions/glob ] ( https://github.com/actions/toolkit/tree/main/packages/glob ) package
19
19
- ` io ` A reference to the [ @actions/io ] ( https://github.com/actions/toolkit/tree/main/packages/io ) package
20
20
- ` exec ` A reference to the [ @actions/exec ] ( https://github.com/actions/toolkit/tree/main/packages/exec ) package
21
+ - ` tc ` A reference to the [ @actions/tool-cache ] ( https://github.com/actions/toolkit/tree/main/packages/tool-cache ) package
21
22
- ` require ` A proxy wrapper around the normal Node.js ` require ` to enable
22
23
requiring relative paths (relative to the current working directory) and
23
24
requiring npm packages installed in the current working directory. If for
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 44
44
"@actions/github" : " ^6.0.0" ,
45
45
"@actions/glob" : " ^0.4.0" ,
46
46
"@actions/io" : " ^1.1.3" ,
47
+ "@actions/tool-cache" : " ^2.0.1" ,
47
48
"@octokit/core" : " ^5.0.1" ,
48
49
"@octokit/plugin-request-log" : " ^4.0.0" ,
49
50
"@octokit/plugin-retry" : " ^6.0.1" ,
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import {Context} from '@actions/github/lib/context'
4
4
import { GitHub } from '@actions/github/lib/utils'
5
5
import * as glob from '@actions/glob'
6
6
import * as io from '@actions/io'
7
+ import * as tc from '@actions/tool-cache'
7
8
8
9
const AsyncFunction = Object . getPrototypeOf ( async ( ) => null ) . constructor
9
10
@@ -14,6 +15,7 @@ export declare type AsyncFunctionArguments = {
14
15
exec : typeof exec
15
16
glob : typeof glob
16
17
io : typeof io
18
+ tc : typeof tc
17
19
require : NodeRequire
18
20
__original_require__ : NodeRequire
19
21
}
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import {context, getOctokit} from '@actions/github'
4
4
import { defaults as defaultGitHubOptions } from '@actions/github/lib/utils'
5
5
import * as glob from '@actions/glob'
6
6
import * as io from '@actions/io'
7
+ import * as tc from '@actions/tool-cache'
7
8
import { requestLog } from '@octokit/plugin-request-log'
8
9
import { retry } from '@octokit/plugin-retry'
9
10
import { RequestRequestOptions } from '@octokit/types'
@@ -66,7 +67,8 @@ async function main(): Promise<void> {
66
67
core,
67
68
exec,
68
69
glob,
69
- io
70
+ io,
71
+ tc
70
72
} ,
71
73
script
72
74
)
Original file line number Diff line number Diff line change @@ -5,13 +5,15 @@ import { Context } from '@actions/github/lib/context';
5
5
import { GitHub } from '@actions/github/lib/utils' ;
6
6
import * as glob from '@actions/glob' ;
7
7
import * as io from '@actions/io' ;
8
+ import * as tc from '@actions/tool-cache' ;
8
9
export declare type AsyncFunctionArguments = {
9
10
context : Context ;
10
11
core : typeof core ;
11
12
github : InstanceType < typeof GitHub > ;
12
13
exec : typeof exec ;
13
14
glob : typeof glob ;
14
15
io : typeof io ;
16
+ tc : typeof tc ;
15
17
require : NodeRequire ;
16
18
__original_require__ : NodeRequire ;
17
19
} ;
You can’t perform that action at this time.
0 commit comments