mirror of
https://github.com/actions/github-script.git
synced 2026-04-07 22:50:04 +00:00
Add the @actions/glob package
This commit is contained in:
parent
8685086334
commit
8920b9a6ed
11 changed files with 11494 additions and 9 deletions
|
|
@ -1,5 +1,6 @@
|
|||
import * as core from '@actions/core'
|
||||
import {context, getOctokit} from '@actions/github'
|
||||
import * as glob from '@actions/glob'
|
||||
import * as io from '@actions/io'
|
||||
import {callAsyncFunction} from './async-function'
|
||||
|
||||
|
|
@ -28,7 +29,7 @@ async function main(): Promise<void> {
|
|||
|
||||
// Using property/value shorthand on `require` (e.g. `{require}`) causes compilation errors.
|
||||
const result = await callAsyncFunction(
|
||||
{require: require, github, context, core, io},
|
||||
{require: require, github, context, core, glob, io},
|
||||
script
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue