Skip to content

GitHub action does not work on Windows #138

@slavek-kucera

Description

@slavek-kucera

When running the action on a Windows host the action fails to locate the pom.xml file.
The following error message is produced:

Error: No file in D:\a\che-che4z-lsp-for-cobol\che-che4z-lsp-for-cobol matched to [**/pom.xml], make sure you have checked out the target repository

The problem seems to be due to the failure of the require('path') and the fallback to sep: '/' on the line 37866:
https://github.com/graalvm/setup-graalvm/blob/f07b5bfaefd6e145798e0bc9570232df4c3f8d17/dist/main.js#L37866
producing

ReferenceError: require is not defined
...

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions