3
0
Fork 0
mirror of https://github.com/tj-actions/changed-files synced 2025-02-21 05:28:14 +00:00

fix: bug with incorrect action path (#1866)

Co-authored-by: GitHub Action <action@github.com>
This commit is contained in:
Tonye Jack 2024-01-17 00:20:30 -07:00 committed by GitHub
parent 67a1f54f6f
commit 3f8189989b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View file

@ -1861,7 +1861,7 @@ function run() {
core.info("Using GitHub's REST API to get changed files");
if (process.env.GITHUB_ACTION_PATH) {
yield (0, utils_1.warnUnsupportedRESTAPIInputs)({
actionPath: process.env.GITHUB_ACTION_PATH,
actionPath: path_1.default.join(process.env.GITHUB_ACTION_PATH, 'action.yml'),
inputs
});
}

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View file

@ -258,7 +258,7 @@ export async function run(): Promise<void> {
core.info("Using GitHub's REST API to get changed files")
if (process.env.GITHUB_ACTION_PATH) {
await warnUnsupportedRESTAPIInputs({
actionPath: process.env.GITHUB_ACTION_PATH,
actionPath: path.join(process.env.GITHUB_ACTION_PATH, 'action.yml'),
inputs
})
}