fix: bug with incorrect action path (#1866)
Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
parent
67a1f54f6f
commit
3f8189989b
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
@ -1861,7 +1861,7 @@ function run() {
|
|||||||
core.info("Using GitHub's REST API to get changed files");
|
core.info("Using GitHub's REST API to get changed files");
|
||||||
if (process.env.GITHUB_ACTION_PATH) {
|
if (process.env.GITHUB_ACTION_PATH) {
|
||||||
yield (0, utils_1.warnUnsupportedRESTAPIInputs)({
|
yield (0, utils_1.warnUnsupportedRESTAPIInputs)({
|
||||||
actionPath: process.env.GITHUB_ACTION_PATH,
|
actionPath: path_1.default.join(process.env.GITHUB_ACTION_PATH, 'action.yml'),
|
||||||
inputs
|
inputs
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@ -258,7 +258,7 @@ export async function run(): Promise<void> {
|
|||||||
core.info("Using GitHub's REST API to get changed files")
|
core.info("Using GitHub's REST API to get changed files")
|
||||||
if (process.env.GITHUB_ACTION_PATH) {
|
if (process.env.GITHUB_ACTION_PATH) {
|
||||||
await warnUnsupportedRESTAPIInputs({
|
await warnUnsupportedRESTAPIInputs({
|
||||||
actionPath: process.env.GITHUB_ACTION_PATH,
|
actionPath: path.join(process.env.GITHUB_ACTION_PATH, 'action.yml'),
|
||||||
inputs
|
inputs
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user